![]() |
|
|
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 |
| mailx Issue with -r flag | superdelic | UNIX for Dummies Questions & Answers | 1 | 01-22-2008 11:06 AM |
| Shell to run one after another checking any flag or file | konark | Shell Programming and Scripting | 3 | 12-28-2007 03:27 PM |
| CC 5.5 compiler flag to issue 64bit porting warnings on sparc-solaris | shobhah | SUN Solaris | 0 | 03-02-2007 02:47 AM |
| Bad Audit Flag | wobitu | HP-UX | 1 | 09-29-2004 06:32 AM |
| pwd: A specified flag is not valid for this command. | Paxton | UNIX for Dummies Questions & Answers | 2 | 08-29-2003 01:56 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Retaining value in var for flag.
I have problem like this :
while loop 1 var=some expression 2 if [ $var -ne $oldVar ] then 3 Do something 4 oldVar=$var 5 fi 6 done Then, I am facing error at line number 2, mentioning invalid argument. Can anyone please help me for, How to retain value in oldVar? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|