summaryrefslogtreecommitdiff
path: root/rushs/tinyprintf/80cols/80cols.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rushs/tinyprintf/80cols/80cols.sh')
-rwxr-xr-xrushs/tinyprintf/80cols/80cols.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/rushs/tinyprintf/80cols/80cols.sh b/rushs/tinyprintf/80cols/80cols.sh
deleted file mode 100755
index d66cf9b..0000000
--- a/rushs/tinyprintf/80cols/80cols.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-[ $# -ne 1 ] && exit 1
-[ -f $1 ] || exit 1
-
-while IFS='' read -r line; do
- var=$(printf '%s' "$line" | wc -m)
- [ "$var" -ge 80 ] && printf '%s\n' "$line"
-done < "$1"
-
-exit 0