[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Variables in scripts
- From: "Brian McGrew" <Brian doubledimension com>
- To: <redhat-list redhat com>
- Subject: Variables in scripts
- Date: Fri, 8 Oct 2004 08:38:56 -0700
I'm asking this question here becuase what I have works on Solaris but not Redhat 7.3
I have a simple script:
#!/bin/sh
change=0
while [ $changed -eq 0 ];
do
changed=1
echo $changed
done
echo $changed
exit
When I come to the last echo $changed, it's back to 0. Any idea why that is? This works find on Solaris???
-brian
Brian D. McGrew { brian doubledimension com || brian visionpro com }
---
> YOU! Off my planet!
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]