[CentOS] bash - safely pass untrusted strings?
Les Mikesell
lesmikesell at gmail.comTue Feb 26 23:29:35 UTC 2008
- Previous message: [CentOS] bash - safely pass untrusted strings?
- Next message: [CentOS] bash - safely pass untrusted strings?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stephen Harris wrote:
> 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!!!
Good catch - I must have been thinking partly in perl.
--
Les Mikesell
lesmikesell at gmail.com
- Previous message: [CentOS] bash - safely pass untrusted strings?
- Next message: [CentOS] bash - safely pass untrusted strings?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list