![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | 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 here. Shell Script Page. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to print 3rd to last line of file? | NivekRaz | Shell Programming and Scripting | 2 | 09-10-2007 05:04 PM |
| how to print 35th line from a file ? | gridview | UNIX for Dummies Questions & Answers | 9 | 05-15-2007 01:31 PM |
| how to print out line numbers of a text file? | forevercalz | Shell Programming and Scripting | 4 | 12-12-2005 01:04 AM |
| Print file line by line | handak9 | Shell Programming and Scripting | 2 | 10-20-2005 05:44 AM |
| Print one line of Existing File | danhodges99 | UNIX for Dummies Questions & Answers | 2 | 02-25-2003 07:56 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Hi friends
I need to get what ever line number i want Supplier.profile ----------------- SFTP/INVTRAN SFTP/INVSNAP GATEWAY/INVTRAN GATEWAY/INVSNAP ---------------- exec 0<$Supplier.profile while read LINE do echo $LINE done ------------------------------ it prints line by line but i need what ever line i want like line4 -> GATEWAY/INVSNAP OR LINE3 -> GATEWAY/INVTRAN is there any way to get like that Thanks Krish. |
| Forum Sponsor | ||
|
|
|
|||
|
No duplicate or cross-posting, read the rules.
Proceed here: want line whatever i want is there any way Thread closed. |
|||
| Google UNIX.COM |