Document RFC 4180 (relaxed/more permissive) violation - csvtofsv - Convert CSV to FSV (`fs' (0x1c) as FS and `rs' (0x1e) as RS)
 (HTM) hg clone https://bitbucket.org/iamleot/csvtofsv
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) changeset 68ca865ea6f23925b78b04ba1016d1f1090a7d71
 (DIR) parent 2bdc0f4a83d0287bc9d7b98204eaae6bba0729a3
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       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;