RE: shell scripting while if string length != 0

2003-08-01 Thread Steve Coile
Dave: >From your description of the script, and from the script itself, it appears that the reason you're checking for a blank command is to determine when you've reached the end of commands. Presumably, that would only occur at the end of the file. Is my interpretation correct? If the reason y

RE: shell scripting while if string length != 0

2003-08-01 Thread Dave [Hawk-Systems]
efinately check it out, thanks. Dave >- Original Message - >From: "Dave [Hawk-Systems]" <[EMAIL PROTECTED]> >Subject: shell scripting while if string length != 0 > > >> for reasons best left unsaid, we need to pull in a file full of >partial >> com

Re: shell scripting while if string length != 0

2003-08-01 Thread Rob
lt;[EMAIL PROTECTED]> Subject: shell scripting while if string length != 0 > for reasons best left unsaid, we need to pull in a file full of partial > commands, and run them via a shell script on occasion, removing each command as > we run it. Have managed to hack togetherthe follow

shell scripting while if string length != 0

2003-07-31 Thread Dave [Hawk-Systems]
for reasons best left unsaid, we need to pull in a file full of partial commands, and run them via a shell script on occasion, removing each command as we run it. Have managed to hack togetherthe following shell script, but and stumped on something simple because of my lack of shell knowledge; th