-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James Bensley wrote:
> Hey Guys,
>
> I can not find the corrent syntax for what I am trying to acheive with a
> while loop. Having said that I'm not exactly sure what you would call it
> so I have been googling with no success probably for that reason
On Wed, Jun 03, 2009 at 04:33:21AM -0400, JohnS wrote:
> ---
> I'm no Bash expert but is there a real good reason "pass" would not be
> used in place of continue? I'm just really currious
Because pass is not a valid bash language construct, at least in
3.2.25.
On Wed, 2009-06-03 at 02:59 -0500, John R. Dennison wrote:
> On Wed, Jun 03, 2009 at 08:44:29AM +0100, James Bensley wrote:
>
> There are many ways to do this; building on your code
> snippet it would be:
>
> #!/bin/bash
> find ./ -maxdepth 1 -type d | while read FOLDER
> do
>
Thanks guys the "continue" command was what I was looking for. Also to those
who pointed out the lack of quotation marks around the string, they are on
my original script but somehow vanished during the copy and paste operation
between my shell window and browser...werid?!?!
Still If I hadn't of h
On Wed, Jun 03, 2009 at 08:44:29AM +0100, James Bensley wrote:
There are many ways to do this; building on your code
snippet it would be:
#!/bin/bash
find ./ -maxdepth 1 -type d | while read FOLDER
do
if [ "$FOLDER" = "./not_this_folder_oh_no!" ]; then
cont
Hey Guys,
I can not find the corrent syntax for what I am trying to acheive with a
while loop. Having said that I'm not exactly sure what you would call it so
I have been googling with no success probably for that reason.
I am just working with some sub directories except there is one I don't wan
6 matches
Mail list logo