![]() |
|
|
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 |
| shell script to read file line by line | ani12345 | UNIX for Dummies Questions & Answers | 4 | 07-13-2009 05:50 PM |
| cat file1 read line-per-line then grep -A 15 lines down in fileb | irongeekio | Shell Programming and Scripting | 6 | 01-28-2009 06:30 AM |
| I need suggestion on problem read a file line by line and do stuff | madi3d8 | Shell Programming and Scripting | 3 | 01-15-2009 11:33 AM |
| query on how to search for a line and read 4th word from that line | jaggesh | UNIX for Dummies Questions & Answers | 4 | 07-01-2008 11:21 PM |
| How to read from a file line by line and do stuff | spaceship | Shell Programming and Scripting | 4 | 03-17-2005 09:47 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
while read line
Hi Gurus,
I am new to Unix, please help me out. I have ascript which reads a line by line from a file abc.txt like below abc.txt 2345 34576 5673 and i have to find out the file name starting with above linenames in another dir cd /xxx/ttt wll ls command work like below. #bin/ksh exec<abc.txt while read line cd /xxx/ttt ls "$line"* > mv /xxx/ttt/subdir do please help. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|