$ column -tns: /etc/passwd
-n switch keeps empty columns
If your distribution does not ship with a recent column version that supports -n you can use this alternative:
perl -pe ‘s/(^|;);/$1 ;/g’ file.csv | column -ts\; | less -S
Change the delimiter to your liking.
View this command to comment, vote or add to favourites
View all commands by bashrc

by David Winterbottom (codeinthehole.com)






















0 Comments
You can be the first one to leave a comment.