Introduction
Introduction Statistics Contact Development Disclaimer Help
Add a README - csvtofsv - Convert CSV to FSV (`fs' (0x1c) as FS and `rs' (0x1e)…
hg clone https://bitbucket.org/iamleot/csvtofsv
Log
Files
Refs
README
---
changeset 2bdc0f4a83d0287bc9d7b98204eaae6bba0729a3
parent 1597ecadd1e5e3d81c5dc46374bcf3e737307798
Author: Leonardo Taccari <[email protected]>
Date: Wed, 26 Jun 2019 02:14:22
Add a README
Diffstat:
README.txt | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff -r 1597ecadd1e5 -r 2bdc0f4a83d0 README.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/README.txt Wed Jun 26 02:14:22 2019 +0200
@@ -0,0 +1,13 @@
+csvtofsv reads a CSV from standard input and convert it to a FSV with a
+`fs' ASCII character (034 in octal, 28 in decimal, 0x1c in hexadecimal)
+as field separator and `rs' ASCII character (036 in octal, 30 in
+decimal, 0x1e in hexadecimal) as record separator.
+
+All `\r' are ignored and all quotes are removed from the quoted fields.
+
+The CSV parsing try to follows as much as possible RFC 4180. As a relaxed
+
+
+csvtofsv output can be processed via AWK by setting FS and RS as follow:
+
+ % awk 'BEGIN { FS = "\034"; RS = "\036" } { ... }'
You are viewing proxied material from tccr.it. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.