![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | 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. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find 2 line numbers, grab text in between | Da_Duck | Shell Programming and Scripting | 11 | 09-26-2006 12:51 PM |
| Print only certain lines from a text file | CamTu | Shell Programming and Scripting | 1 | 06-01-2005 11:47 AM |
| Search for text and print the next line | alijassim | Shell Programming and Scripting | 2 | 08-17-2004 06:08 AM |
| PERL:print 32 variables into a text file | perleo | Shell Programming and Scripting | 2 | 04-25-2003 06:23 AM |
| How to print a text file in landscape | yxiao | UNIX for Dummies Questions & Answers | 5 | 06-20-2002 06:21 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to print out line numbers of a text file?
i have this text file name test.txt which contain :
aaaaa bbb iiiiiiiiiiiii ccf ddaaa ddd and i need a script that can print out the line numbers using a while loop.. so when the script is run..it will have this: 1 2 3 any ideas? thanks guys |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|