diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2023-11-11 20:28:43 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2023-11-11 20:28:43 +0200 |
commit | 6e222fe5c0df10f406dd61a9ae587a1d86bd5d3c (patch) | |
tree | 86f3b948b498139933a1f9841aeb24d71847606f | |
parent | d801514094d1140dfc9f8571b9821082ddddf107 (diff) | |
download | one-true-awk-6e222fe5c0df10f406dd61a9ae587a1d86bd5d3c.tar.gz |
Fix two incorrect test cases.
-rwxr-xr-x | testdir/T.csv | 1 | ||||
-rwxr-xr-x | testdir/T.flags | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/testdir/T.csv b/testdir/T.csv index 10da1ea..79c1510 100755 --- a/testdir/T.csv +++ b/testdir/T.csv @@ -77,5 +77,4 @@ a''b [a''b] a, [a][] "", [][] , [][] -a"b [a"b] !!!! diff --git a/testdir/T.flags b/testdir/T.flags index 33d7c8d..17ce561 100755 --- a/testdir/T.flags +++ b/testdir/T.flags @@ -20,5 +20,6 @@ grep 'unknown option' foo >/dev/null || echo 'T.flags: bad unknown option' $awk -F >foo 2>&1 grep 'no field separator' foo >/dev/null || echo 'T.flags: bad missing field separator' -$awk -F '' >foo 2>&1 -grep 'field separator FS is empty' foo >/dev/null || echo 'T.flags: bad empty field separator' +### Awk is now like gawk and splits into separate characters if FS = "" +# $awk -F '' >foo 2>&1 +# grep 'field separator FS is empty' foo >/dev/null || echo 'T.flags: bad empty field separator' |