shithub: trueawk

Download patch

ref: 6e222fe5c0df10f406dd61a9ae587a1d86bd5d3c
parent: d801514094d1140dfc9f8571b9821082ddddf107
author: Arnold D. Robbins <arnold@skeeve.com>
date: Sat Nov 11 15:28:43 EST 2023

Fix two incorrect test cases.

--- a/testdir/T.csv
+++ b/testdir/T.csv
@@ -77,5 +77,4 @@
 a,	[a][]
 "",	[][]
 ,	[][]
-a"b	[a"b]	
 !!!!
--- a/testdir/T.flags
+++ b/testdir/T.flags
@@ -20,5 +20,6 @@
 $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'
--