diff options
author | Edoardo La Greca | 2025-05-05 20:39:54 +0200 |
---|---|---|
committer | Edoardo La Greca | 2025-05-05 20:39:54 +0200 |
commit | ade3bbcc86807b2246f68e7cd9866fbf08c2d052 (patch) | |
tree | 59f9ca619d9f79142bd6bf691f01c20b3506250d | |
parent | aa727fcfbd54add0c2b487d5418adeecc4f834c6 (diff) |
add folder script
-rwxr-xr-x | sh/folder.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sh/folder.sh b/sh/folder.sh new file mode 100755 index 0000000..dc1c097 --- /dev/null +++ b/sh/folder.sh @@ -0,0 +1,6 @@ +#! /bin/sh + +# Fold and remove trailing white-space from files. + +fold -s "$@" | sed 's/[[:space:]]$//' + |