bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parse CVS in awk


From: Peng Yu
Subject: Parse CVS in awk
Date: Wed, 8 Apr 2020 21:51:54 -0500

I'm wondering if the solution mentioned here is robust against all CVS
format variations.

https://www.gnu.org/software/gawk/manual/gawk.html#Splitting-By-Content

https://en.wikipedia.org/wiki/Comma-separated_values

"Embedded double quote characters may then be represented by a pair of
consecutive double quotes,[13] or by prefixing a double quote with an
escape character such as a backslash (for example in Sybase Central).
"

It seems that there are variations in CVS format. Is there a way to
robustly handle all possible cases?

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]