commit 35582285c7bdbcbd8b8de31f67b4c5c5c673276e
parent 29d2fea86cbb514388128d3ce5923aad2b09fb68
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Sat, 12 Sep 2020 16:06:53 -0700
Change -l formatting
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/.local/bin/feed b/scripts/.local/bin/feed
@@ -21,7 +21,7 @@ format()
# show([file], ...)
show()
{
- awk -F"\t" '{ printf "%s %d: %s\n", FILENAME, FNR, $2 }' $@
+ awk -vOFS="\t" -F"\t" '{ print FILENAME, FNR, $2 }' $@
}
# return the nth feed in specified files or stdin