On Feb 14, 2009, at 11:19 AM, Rick Burnett wrote:

The problem that I run into is that it seems to give me an error if the keyword has a space in it. For example, running the script on a photo tagged "John Smith" results in an error that says : Error - file Smith not found.

When passing parameters to Unix command line tools, spaces are usually used as the break between separate parameters. So

somecommand john smith

actually has two parameters. To turn it into one parameter either escape the space with \ followed by space

somecommand john\ smith

or quote the parameter

somecommand 'john smith'




Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
The next Louisville Computer Society meeting will
be February 24 at MacAuthority, 128 Breckinridge Lane. 
Posting address: [email protected]
Information: http://www.math.louisville.edu/mailman/listinfo/macgroup

Reply via email to