![]() |
|
|
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 |
| GREP and Retrieve Line by Line | maxmave | Shell Programming and Scripting | 2 | 06-03-2008 12:45 PM |
| How to retrieve a particular line from a file | vinayap | UNIX for Dummies Questions & Answers | 2 | 07-11-2007 03:16 PM |
| search and retrieve previous line in file | paulsew | Shell Programming and Scripting | 2 | 02-23-2007 08:04 AM |
| (cont) Retrieve line from a file based on a value in specific column | efernandes | UNIX for Dummies Questions & Answers | 0 | 01-27-2007 01:00 PM |
| Retrieve line from a file based on a value in specific column | efernandes | UNIX for Dummies Questions & Answers | 1 | 01-27-2007 11:04 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
traversing line by line in a file
we need to capture a record from a file in to a variable and do modifications to it .. so capturing line by line in a file in to some variable
Last edited by lmadhuri; 02-07-2007 at 08:15 AM.. Reason: enhancement in requirement |
|
||||
|
Quote:
Code:
grep "pattern" file Code:
while read line
do
echo $line
done < file
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|