Introduction
Introduction Statistics Contact Development Disclaimer Help
Document RFC 4180 (relaxed/more permissive) violation - csvtofsv - Convert CSV …
hg clone https://bitbucket.org/iamleot/csvtofsv
Log
Files
Refs
README
---
changeset 68ca865ea6f23925b78b04ba1016d1f1090a7d71
parent 2bdc0f4a83d0287bc9d7b98204eaae6bba0729a3
Author: Leonardo Taccari <[email protected]>
Date: Wed, 26 Jun 2019 02:21:35
Document RFC 4180 (relaxed/more permissive) violation
Diffstat:
csvtofsv.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff -r 2bdc0f4a83d0 -r 68ca865ea6f2 csvtofsv.c
--- a/csvtofsv.c Wed Jun 26 02:14:22 2019 +0200
+++ b/csvtofsv.c Wed Jun 26 02:21:35 2019 +0200
@@ -49,6 +49,12 @@
quoted = true;
first = false;
} else if (!quoted) {
+ /*
+ * RFC 4180 says: `Fields containing [...]
+ * double quotes [...] should be enclosed in
+ * double-quotes.'. This violates that by
+ * printing alone `"' as-is.
+ */
putchar(c);
} else if ((nc = getchar()) != EOF) {
pc = nc;
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.