Bash One-Liners
One-Liners
View specific column of data from a large file with long lines
cat /tmp/log.data |colrm 1 155|colrm 60 300
October 4, 2011
—
versorge
Explanation
cat
: prints the file to standard output
colrm
: removes selected columns from a file
text-processing
data-manipulation
cat
Tweet