![]() |
|
|
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 command - no subdirs | andrewsc | AIX | 4 | 07-09-2008 01:36 PM |
| dynamic names for .tar.gz files? | srinivas_paluku | HP-UX | 1 | 06-23-2008 02:40 PM |
| Comparing filename-substrings and remove unnecessary files | cypher82 | UNIX for Dummies Questions & Answers | 5 | 06-06-2008 05:26 AM |
| How to get files names passed to a script | unishiva | Shell Programming and Scripting | 5 | 11-08-2007 04:01 AM |
| total number of files which have "aaa" in files whose names are File*_bbb* | sudheshnaiyer | UNIX for Dummies Questions & Answers | 1 | 08-16-2007 03:34 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
substrings from all files incl subdirs into csv with dir names
Greetings!
I have multiple files, one per subdirectory, all with the same file name. All subdirectories are one level deep from the main directory. The data in the files is tab delimited between fields and record delimited with a newline. The subdirectory names have the date in the name, i.e directory xxxx050109. I would like to get the second and fifth tab delimited fields and directory name for all records from every file in all subdirectories and put them into a single comma delimited file i.e. field1,field2,directoryname. Thanks, Victor |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|