Re: [MacPerl] Re: problem with Japanese text

2003-03-28 Thread Robin
On Friday, March 28, 2003, at 02:14 pm, Dan Kogai wrote: On the other hand, counting can be tricky even for natives. The very name of numbers changes depending on what you count. parallels for this in English can be seen in English group names - a gaggle of geese, a troop of monkeys, a knot

safe system()?

2003-03-28 Thread Rich Morin
Let's say that I want to use a command (e.g., md5) on a file. No problem; just use: system(md5 $file); Except that the file name could contain all manner of white space characters, shell wildcard characters, etc. Is there a module that deals with this sort of thing (e.g., wrapping each

Re: safe system()?

2003-03-28 Thread Jerry LeVan
Let's say that I want to use a command (e.g., md5) on a file. No problem; just use: system(md5 $file); Except that the file name could contain all manner of white space characters, shell wildcard characters, etc. Is there a module that deals with this sort of thing (e.g., wrapping

Re: safe system()?

2003-03-28 Thread Bill Stephenson
on 3/28/03 12:23 PM, Rich Morin at [EMAIL PROTECTED] wrote: Let's say that I want to use a command (e.g., md5) on a file. No problem; just use: system(md5 $file); Except that the file name could contain all manner of white space characters, shell wildcard characters, etc. Is there a

Re: safe system()?

2003-03-28 Thread David Dierauer
Wouldn't it work to do the system call like this: system( 'md5',$file ); since passing the params as a list should bypass the shell? -- David Dierauer Database Programmer CoreComm [EMAIL PROTECTED] 517-324-8957 On Fri, 28 Mar 2003, Jerry LeVan wrote: Let's say that I want to use a command

Re: safe system()?

2003-03-28 Thread Nathan Torkington
Rich Morin writes: Let's say that I want to use a command (e.g., md5) on a file. No problem; just use: system(md5 $file); Except that the file name could contain all manner of white space characters, shell wildcard characters, etc. Is there a module that deals with this sort of

Re: [MacPerl] Re: problem with Japanese text

2003-03-28 Thread Jeff Lowrey
At 6:47 PM +0900 3/28/03, Robin wrote: On Friday, March 28, 2003, at 02:14 pm, Dan Kogai wrote: On the other hand, counting can be tricky even for natives. The very name of numbers changes depending on what you count. parallels for this in English can be seen in English group names - a

Re: safe system()?

2003-03-28 Thread Dan Kogai
On Saturday, Mar 29, 2003, at 03:23 Asia/Tokyo, Rich Morin wrote: Let's say that I want to use a command (e.g., md5) on a file. No problem; just use: system(md5 $file); Except that the file name could contain all manner of white space characters, shell wildcard characters, etc. Is there a