![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | 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. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get files names passed to a script | unishiva | Shell Programming and Scripting | 5 | 11-08-2007 12:01 AM |
| Problem with script not able to take parameters passed to it | dsravan | Shell Programming and Scripting | 7 | 10-09-2007 06:28 PM |
| checking parameter values passed to script | ammu | UNIX for Dummies Questions & Answers | 2 | 10-05-2007 09:35 AM |
| Extracting passed in parameters | spookyrtd99 | Shell Programming and Scripting | 2 | 05-22-2007 07:07 PM |
| Assigning a Variable all the Parameters passed | samit_9999 | UNIX for Dummies Questions & Answers | 2 | 12-04-2006 01:21 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Problem with script not able to take parameters passed to it
Quote:
Quote:
Quote:
|
| Forum Sponsor | ||
|
|
|
|||
|
When I run it, I'm getting the variables set without any issues.
I put at bottom of script, and it looks to be working as expected. Code:
print $NUM_OF_MKTS $subj print $RUNDTFILE $TBLNAME you could change your if statement to "if [ $subj = 'sub' ]" |
|||
| Google UNIX.COM |