Convert CSV records to TSV: Difference between revisions

m
"robustness" in quotation marks
m ("robustness" in quotation marks)
Line 8:
the operating system.
 
In accordance with the so-called robustness principle of processing, if a string or
input line begins with a valid (possibly empty) sequence of comma-separated
values but is followed by nonsense, then processing should continue based on
Line 33:
so there is no need to express that as a restriction in the PEG.
 
; "Robustness"
As mentioned above, if an input line or string begins with a valid sequence of
comma-separated values but is followed by nonsense, then processing should
Line 97:
; TEST FILE
The test file should include a line with a RETURN ('\r') character.
One way to change the first RETURN in the following to the '\r' control character would be
to use `sed`, perhaps along the lines of: sed -i.bak $'s/RETURN/\r/' TEST.csv
<pre>
2,502

edits