![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 and FTP multiple files in Korn Shell | lambjam | UNIX for Dummies Questions & Answers | 2 | 08-13-2007 11:50 PM |
| Run a process through inetd using korn shell!!! | vishi_82 | Shell Programming and Scripting | 8 | 06-11-2007 09:00 AM |
| Lookup between 2 files ( korn shell ) | pavan_test | UNIX for Dummies Questions & Answers | 17 | 01-31-2006 04:07 PM |
| korn shell + sftp + list files | alienET | Shell Programming and Scripting | 1 | 03-24-2005 11:12 AM |
| Multiple su - in Korn Shell script | furrari | Shell Programming and Scripting | 2 | 07-30-2004 10:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How do I make the below ksh to process all of the files inside a user specified directory?
Currently it can only process one file at a time. #!/bin/ksh tr -s '\11 ' ' ' < $1 > temp0 sed -e 's/,//g' temp0 > temp1 cut -d' ' -f1,4,5 temp1 > final_output rm temp0 temp1 |
|
||||
|
Quote:
You really dont need "rm temp0 temp1" in the loop. You can use rm outside the loop. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|