![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help for shell programming | thungmail | Shell Programming and Scripting | 3 | 04-02-2008 03:55 PM |
| shell programming | nivas | Shell Programming and Scripting | 8 | 02-11-2008 12:06 PM |
| Aix Shell Programming | akmtcs | AIX | 1 | 12-07-2006 08:40 AM |
| shell programming | Neha Agarwal | Shell Programming and Scripting | 2 | 09-07-2005 02:23 AM |
| Shell Programming Help | mec585858 | UNIX for Dummies Questions & Answers | 4 | 12-10-2003 10:24 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I have a fix_table.ksh script that takes a TABLENAME and a date.
So, in jk_table_file.txt I have the tables...one per line, and in jk_out_file.txt I have the date in the format I need. The following doesn not 'want' to work in a shell script... for TABLE in `cat jk_table_file.txt`; do `./fix_table.ksh $TABLE < jk_out_file.txt` Any suggestions? thanks. |
|
||||
|
Thanks for the response...
After taking the tick marks out: for TABLE in `cat jk_table_file.txt`; do ./fix_table.ksh $TABLE < jk_out_file.txt done The message below is spit out after running it. USAGE: fix_table.ksh tablename YYYY-MM-DD If I were to fun fix_table from the command line: fix_table.ksh calldata 2001-05-31 ??? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|