October 11th, 2006 mysurface Posted in Text Manipulation, cut | Hits: 9837 |
I am here to shows an example of cut extract 2 columns from 5 columns.
cut -d" " -f1,5 <<< "hello, my name is mysurface."
The result output is
Hello, mysurface.
-d specified the delimiter, -f specified the fields to extract.
awk, simple but efficient text manipulation tool.Awk is a simple and efficient for text manipulation, it is use to extract info from text data files especially the data ...
easily extract a column of data from multiple columnsTo extract a column of data from multiple column, we can use cut. Usually cut use to extract value from huge trace file ...
Overview: Archive tools for linuxThere are various archive file format exist, such as .tar.gz, .tgz, .tar.bz2, .gz, .bz2, .zip, .rar, .7z. The common que...
Leave a Reply