[CentOS] bash - safely pass untrusted strings?
Stephen Harris
lists at spuddy.org
Tue Feb 26 23:11:09 UTC 2008
On Tue, Feb 26, 2008 at 04:33:30PM -0600, Les Mikesell wrote:
> Benjamin Smith wrote:
> >> Unless I'm terribly mistaken (again?), the only way I've been able to
> >see "loop thru a list of files" work reliably is with "find" using
> >the "-print0" option, in cahoots with xargs.
> >
> >Is there any other way?
>
> for $file in wildcard*
No $ needed there!!!
--
rgds
Stephen
More information about the CentOS
mailing list