Thanks for these replies: three different solutions (so far), all of which
work!
John
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Sat, Aug 05, 2006 at 03:45:26PM +1000, John O'Hagan wrote:
> Hi,
>
> I keep running into this particular gap in my scripting, and hope someone can
> clear it up for me.
>
> FILES=$( ls SOMEWHERE ) #or find or grep, etc
>
> for FILE in $FILES; do SOMETHING; done
>
> I often find that if
On 2006-08-05 15:45:26 +1000, John O'Hagan wrote:
> FILES=$( ls SOMEWHERE ) #or find or grep, etc
>
> for FILE in $FILES; do SOMETHING; done
>
> I often find that if there are spaces in the names of anything in
> $FILES, the execution of SOMETHING occurs separately for each word
> in the name, p
On 08/05/2006 12:45 AM, John O'Hagan wrote:
Hi,
I keep running into this particular gap in my scripting, and hope someone can
clear it up for me.
FILES=$( ls SOMEWHERE ) #or find or grep, etc
for FILE in $FILES; do SOMETHING; done
I often find that if there are spaces in the names of any
On Sat, Aug 05, 2006 at 03:45:26PM +1000, John O'Hagan wrote:
> Hi,
>
> I keep running into this particular gap in my scripting, and hope someone can
> clear it up for me.
>
> FILES=$( ls SOMEWHERE ) #or find or grep, etc
>
> for FILE in $FILES; do SOMETHING; done
>
> I often find that if
Hi,
I keep running into this particular gap in my scripting, and hope someone can
clear it up for me.
FILES=$( ls SOMEWHERE ) #or find or grep, etc
for FILE in $FILES; do SOMETHING; done
I often find that if there are spaces in the names of anything in $FILES, the
execution of SOMETHING o
6 matches
Mail list logo