Jimmy Wu wrote:

> 1. Just use the shell's globbing - it was meant for this purpose -
> instead of assigning a glob to a variable.  Glob expansions can be
> iterated over in loops correctly and safely.  Expanded strings are
> much more tricky to get right (if it is even possible) and less safe
> when you don't.
> 
> FILES="/home/bill/.../Local Folders/2-Personal.sbd"
> 
> for i in "$FILES"/*
> 
> note the glob is outside the quotes
> 
I like this solution better than the one I had suggested.

Mark Neyhart


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to