![]() |
|
|
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 |
| making a archive script | jimmyc | Shell Programming and Scripting | 1 | 09-15-2007 05:02 AM |
| making script | shary | Shell Programming and Scripting | 2 | 06-03-2007 05:16 PM |
| Making a Script to Start as a Service | S.Vishwanath | UNIX for Dummies Questions & Answers | 3 | 02-08-2007 01:37 AM |
| Need help making a script | npereira | Shell Programming and Scripting | 2 | 01-06-2007 01:14 PM |
| Making a script exectuable | BuyoCat | Shell Programming and Scripting | 5 | 09-07-2005 03:07 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I'm tempted to suggest needle and thread, but that wouldn't be helpful.
We need more information. Could you state what you mean? Could you explain what you're trying to do? Could you tell us what shell you're using? |
|
||||
|
okay well im autmating the backup of log files and itll run fine most of the time in the middle of the night but i want to make flags if i need to manualy run the script if i want to run past a certain time and also if i want to only visit an individual server. im using bash.
Last edited by rcunn87; 06-28-2006 at 03:40 PM.. |
|
||||
|
Not exactly i want it to run with differnt vars and conditions depending on what flags i put out there. So i guess if i want to change vars according to a flag just do a case with the flags i want the $1... to match. but what happens if i change the order. because if i run the script "script -y -t" as i understand $1=y and $2=t so the case would only check for changing vars according to the order i put them in. How would i make it not order dependant.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|