Thanks for this report.
This was actually done on purpose so the tag values could be identified
by position in a list when printing a number tags with the -s -S
options. In this case the -f option was implied, causing a '-' to be
printed as a placeholder for missing values. However, I can see where
this could be a problem, especially when outputting the value for only
a single tag. And I don't see a big problem with changing the
behaviour so that -f is required explicitly when a placeholder is
needed.
So I will change it so that -f is no longer implied with -s -S, and
version 6.00 will contain this update.
- Phil Harvey
On Feb 7, 2006, at 9:21 PM, Guest via RT wrote:
Show quoted text>
> Tue Feb 07 21:21:58 2006: Request 17525 was acted upon.
> Transaction: Ticket created by guest
> Queue: Image-ExifTool
> Subject: -S -s outputs an unexpected dash when viewing some EXIF
> tags
> Owner: Nobody
> Requestors: tuzen@hotmail.com
> Status: new
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=17525 >
>
>
> I am running WinXP SP2, and ActiveState perl, v5.8.7 built for
> MSWin32-x86-multi-thread. In the case where the field is missing, I
> am getting an unexpected dash output with the -s switch.
>
>
> results:
> c:\>perl exiftool -S -s -EXIF:ShutterSpeedValue "DSC_0001.JPG"
> -
>
> expected:
> c:\>perl exiftool -S -s -EXIF:ShutterSpeedValue "DSC_0001.JPG"
>
>
> thx,
> -Brian
>