1752550 Members
5251 Online
108788 Solutions
New Discussion юеВ

Re: Script Help

 
SOLVED
Go to solution
Sreedharamurthy K
Respected Contributor

Re: Script Help

to limit, change the condition in while loop:

instead of while true change it to

while [ $COUNT ├в le 30000 ]
Sreedharamurthy K
Respected Contributor

Re: Script Help

You can refer to this guide. Has good examples and scripting info:

http://www.tldp.org/LDP/abs/abs-guide.pdf
Thad Jones
Occasional Advisor

Re: Script Help

The last line you wrote there came across with a bunch of special characters.

How would the while statement be coded as?


Thanks.
Court Campbell
Honored Contributor

Re: Script Help

the ├Г┬в should be a dash.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Court Campbell
Honored Contributor

Re: Script Help

wow, copying and pasting the crazy 'a' changed it to another character.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Sreedharamurthy K
Respected Contributor

Re: Script Help

Oh!! I didn't realize that copy paste would have changed it..

Thanks.. :)

Yes, it is -le
Court Campbell
Honored Contributor

Re: Script Help

Thad,

I think you should assign some points to Sreedharamurthy K. He has only done your work for you.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Court Campbell
Honored Contributor

Re: Script Help

Oh,

And Ivan as well.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Thad Jones
Occasional Advisor

Re: Script Help

Thank you all, this worked to perfection.

Kudos to all of you and yes points are forthcoming as well

BZ to all.


This forum rocks.