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 debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e2f15f4.5050...@legis.state.ak.us

Reply via email to