For Loops and Space in Names, take 2

Robert Wuest rwuestfc at wuest.org
Thu Dec 11 04:52:41 UTC 2008


> > the $1 is still unsafe, and cannot easily be made safe. (Actually,
> > bash's "printf %q" formatter may do the trick for you, and since you're
> > already in nonportable GNU sed land, you may as well step right in with
> > nonportable bash too:-)
> 
> I'm not sure what %q does.  It's not in the info or man documentation.


I was looking in all the wrong places. Found it in man bash.  I'm going
to play with that some.

Robert






More information about the fedora-list mailing list