From cb6014e61a2ffd2c80184e5e9576178ea3c58014 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 2 Jul 2017 16:07:36 +1200 Subject: Remove null FS assignment from trs(1df) gawk's --lint option complains: > awk: .dotfiles/bin/trs.awk:7: warning: null string for `FS' is a gawk extension --- bin/trs.awk | 3 --- 1 file changed, 3 deletions(-) (limited to 'bin') diff --git a/bin/trs.awk b/bin/trs.awk index 8d0a1ef0..58fdf8a9 100644 --- a/bin/trs.awk +++ b/bin/trs.awk @@ -3,9 +3,6 @@ BEGIN { # Name self self = "trs" - # No wordsplitting required - FS = "" - # Two and only two arguments required if (ARGC != 3) fail("Need a string and a replacement") -- cgit v1.2.3