Skip to content

Commit

Permalink
docs: Use printf instead of echo with newline
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Mar 7, 2023
1 parent 46b3c44 commit 014a14c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/scripts/csvformat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ Convert to a tab-delimited file (TSV) with no doubling of double quotes:

.. code-block:: bash
echo 'key,value
1,"a ""quoted"" string"' | csvformat -T -Q🐍
printf 'key,value\n1,"a ""quoted"" string"' | csvformat -T -Q🐍
To avoid escaping quote characters when using :code:`--quoting 3`, add :code:`--out-quotechar ""`:

Expand Down

0 comments on commit 014a14c

Please sign in to comment.