ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: ryerman on April 13, 2011, 10:03:32 PM

Title: writing literal colon as part of tag fails in ver 8.55 but succeeds in ver 8.25
Post by: ryerman on April 13, 2011, 10:03:32 PM
Consider the following command:
                             exiftool -k "-xpauthor<Artist:  $filetype" FILE
where FILE is a JPEG image file.

When I use ver 8.25, "Artist:" (without quotes, and shown in bold above) is written as part of the tag value for xpauthor. (along with the value of the filetype tag)
When I use ver 8.55 it is not; only 2 spaces and the value of the filetype tag are written.
I'm pretty sure it has something to do with the colon.

How should I modify the above command for use in version 8.55 so Artist: is written as in version 8.25
In general, how can I write a "constant" that is a special character?

Thanks,
Jim
Title: Re: writing literal colon as part of tag fails in ver 8.55 but succeeds in ver 8.25
Post by: Phil Harvey on April 14, 2011, 07:49:28 AM
Thank you very much for pointing out this bug.  It effects versions 8.32 through 8.55, but it will be fixed in version 8.56 when it is released.

- Phil
Title: Re: writing literal colon as part of tag fails in ver 8.55 but succeeds in ver 8.25
Post by: ryerman on April 16, 2011, 10:57:58 AM
Thank-you, Phil :)
The command writes correctly with version 8.56.
Maybe you'll move this topic to the Bug section.

Jim

edit: corrected version number
Title: Re: writing literal colon as part of tag fails in ver 8.55 but succeeds in ver 8.25
Post by: Phil Harvey on April 16, 2011, 11:44:08 AM
Great.  (I assume you meant version 8.56, not 8.26).

And moved this thread to the bugs section.

- Phil