413 current 2025-06-03 09:48:36 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-06-03 09:49:07 -04:00
parent e2c21a3c6c
commit ecabe83ccc
3 changed files with 19 additions and 0 deletions

View File

@@ -209,6 +209,19 @@ stack() {
find . -type f -exec echo -e "\n--- {} ---\n" \; -exec cat {} \;
}
stack-b() {
(
while IFS= read -r -d '' file; do
# Print a header for each filename:
printf '\n--- %s ---\n' "$file"
# Dump the raw content of "$file" exactly (no transformations).
cat "$file"
done < <(find . -type f ! -name '*.json' -print0)
) \
| perl -p -e 'chomp if eof' \
| xclip -in -sel clip
}
stack-min() {
find . -maxdepth 1 -type f -exec echo -e "\n--- {} ---\n" \; -exec cat {} \;
}