![]() |
|
|
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 |
| A program to trace execution of another program | jiten_hegde | High Level Programming | 3 | 08-19-2008 06:26 AM |
| How to write to stdin of another program (program A -> [stdin]program B) | vvaidyan | UNIX for Dummies Questions & Answers | 3 | 08-02-2008 06:21 PM |
| How to write to stdin of another program (program A -> [stdin]program B) | vvaidyan | High Level Programming | 1 | 04-30-2008 02:44 PM |
| executing a program within a program | Gekko | High Level Programming | 4 | 06-27-2002 04:36 PM |
| ftp program | paost712 | UNIX for Dummies Questions & Answers | 3 | 01-06-2002 04:20 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I need to write a program using sed and awk and am new to this unix stuff. So if anyone can give me any pointers that would be great. Here is what I need to do. # 7 I can do.
1. Accept two and only two command line arguments 2. These will be the names of two directories 3. Make sure sending directory exists and is a directory 4. make sure receiving directory exists and if not create it. 5. copy files that only have a suffix of .log and are not empty 6. When copying files change suffix of filenames from .log to .abc 7. Display count of number of files copied. 8. Log files will contain 2 columns of data, when you copy switch the order of the columns in the files you create in the receiving directory. Thanks. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|