Extract text column in bash using awk pipeBy neokrates, written on September 3, 2010 |
awk snippet |
- neokrates
- Email: uwarov@yahoo.com
- Website: http://www.thinkplexx.com
- Join date: 05-31-09
- Posts: 20
Rate it
Ad
Poll
Best shells (or command line language) are?
- Bash (47%, 9 Votes)
- Different shell (21%, 4 Votes)
- Zsh (21%, 4 Votes)
- Csh (11%, 2 Votes)
- Power shell (5%, 1 Votes)
- Ksh (5%, 1 Votes)
- Lush (0%, 0 Votes)
- Quicksilver (0%, 0 Votes)
- IPython (0%, 0 Votes)
- Rush (0%, 0 Votes)
- Pash (0%, 0 Votes)
- Dos cl (0%, 0 Votes)
- Fish shell (0%, 0 Votes)
Total Voters: 19
Loading ...
Most popular search terms:
Use form awk "{ print \$COL_1 \$COL_N }" :
user@host:~$ echo "1col 2col 3col 4col 5col" | awk "{ print \$3 \$5 }" 3col5col
|
TAGS
|
|
SOCIAL
|


















