ditch echo for printf & redirect error messages to standard output stream

This commit is contained in:
xosefulk committed 2021-06-04 14:19:26 +06:00
1 parent 850ca56ff7
commit 14b734ad42
16 files changed
+116 -108

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@
if [ -z "$1" ]; then
echo "Must specify a file to modify..."
printf "%s\n" "Must specify a file to modify..."
exit 1
fi
regex='^=?(\S+)(?:-[[:digit:]]+\S*)(\s)(\S+)$'