![]() |
|
|
grep unix.com with google
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Our Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Quote:
Code:
Use one, and only one of -b, -c or -f. Each LIST is made up of one range, or many ranges separated by com-
mas. Selected input is written in the same order that it is read, and is written exactly once. Each range
is one of:
N N'th byte, character or field, counted from 1
N- from N'th byte, character or field, to end of line
N-M from N'th to M'th (included) byte, character or field
-M from first to M'th (included) byte, character or field
With no FILE, or when FILE is -, read standard input.
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| reading in arguments with spaces | Calypso | Shell Programming and Scripting | 11 | 04-23-2009 02:29 PM |
| Split a line on positions before reading complete line | vijaykrc | Shell Programming and Scripting | 1 | 02-18-2009 07:23 PM |
| how to append spaces(say 10 spaces) at the end of each line based on the length of th | prathima | UNIX for Dummies Questions & Answers | 17 | 01-28-2009 04:10 PM |
| Reading a file using sh with spaces in filename | jekl5 | Shell Programming and Scripting | 4 | 02-29-2008 10:18 AM |
| Reading a line including spaces | aksarben | UNIX for Dummies Questions & Answers | 1 | 09-19-2007 08:39 PM |