Skip to content

Instantly share code, notes, and snippets.

@jj1bdx
Forked from netj/csv2tsv.py
Last active November 18, 2018 21:49
Show Gist options
  • Select an option

  • Save jj1bdx/c499114ddcad9b83f498 to your computer and use it in GitHub Desktop.

Select an option

Save jj1bdx/c499114ddcad9b83f498 to your computer and use it in GitHub Desktop.

Revisions

  1. @netj netj revised this gist Aug 16, 2010. 2 changed files with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions csv2tsv.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    #!/usr/bin/env python
    import sys,csv
    for row in csv.reader(sys.stdin):
    print "\t".join(row)
    File renamed without changes.
  2. @netj netj created this gist Aug 16, 2010.
    1 change: 1 addition & 0 deletions csv2tsv
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    python -c "`printf '%s\n' 'import sys,csv' 'for row in csv.reader(sys.stdin):' ' print "\t".join(row)'`"