![]() |
|
|
|||||||
| 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 |
| tar extract to different directory | ammu | UNIX for Advanced & Expert Users | 1 | 07-25-2007 07:54 AM |
| Processing files within a directory one by one | skyineyes | Shell Programming and Scripting | 1 | 07-15-2007 10:44 PM |
| extract tar files without creating directory | here2learn | UNIX for Dummies Questions & Answers | 4 | 10-02-2006 04:42 PM |
| How to extract archive to a specified directory | john_trinh | UNIX for Dummies Questions & Answers | 4 | 03-02-2004 02:07 PM |
| redirecting tar extract to another directory | colesy | UNIX for Dummies Questions & Answers | 7 | 01-28-2003 12:40 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
how to extract files one by one from a directory and let some processing happen
how to extract files one by one from a directory and let some processing be done on the file
I have a directory by name INTRN which has files like INTR.0003080248636814 INTR.0003080248636816 INTR.0003080248636818 . . . . and so on and in a script i have a nawk block nawk '{ . . . }' <filename> my problem is how to how to extract files one by one from a directory and place it at the end of the nawk block,like get the file INTR.0003080248636814 from the directory INTRN and put it at the end of the nawk block for processing,aftr processing get the second file and do the same for all the files in the directory. please help me.thanks in advance. |
| Forum Sponsor | ||
|
|