User Tools

Site Tools


pretty_print_csv_data

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pretty_print_csv_data [2021/07/02 19:27] – [in vim] adminpretty_print_csv_data [2023/11/27 05:59] (current) – [bash function] raju
Line 1: Line 1:
-==== bare bones solution ====+==== command line ====
 <code> <code>
  | column -t -s,  | column -t -s,
Line 45: Line 45:
  
 See also:- https://www.stefaanlippens.net/pretty-csv.html - talks about handling corner cases and other OSes. See also:- https://www.stefaanlippens.net/pretty-csv.html - talks about handling corner cases and other OSes.
 +
 +==== zsh function ====
 +(Todo, 2023-11-27): Add instructions to do this in zsh shell
  
 ==== vim ==== ==== vim ====
Line 70: Line 73:
 </code> </code>
  
-Ref:- https://stackoverflow.com/questions/1229900/reformat-in-vim-for-a-nice-column-layout+Ref:- https://stackoverflow.com/questions/1229900/reformat-in-vim-for-a-nice-column-layout - contains some tips on how to handle cases where there are delimiters inside string literals.
pretty_print_csv_data.1625254049.txt.gz · Last modified: 2021/07/02 19:27 by admin