Skip Menu |

This queue is for tickets about the Image-ExifTool CPAN distribution.

Report information
The Basics
Id: 17525
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Image-ExifTool

People
Owner: EXIFTOOL [...] cpan.org
Requestors: tuzen [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.60
Fixed in: 6.00



Subject: -S -s outputs an unexpected dash when viewing some EXIF tags
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
CC: tuzen [...] hotmail.com
Subject: Re: [rt.cpan.org #17525] -S -s outputs an unexpected dash when viewing some EXIF tags
Date: Wed, 8 Feb 2006 07:57:10 -0500
To: bug-Image-ExifTool [...] rt.cpan.org
From: Phil Harvey <phil [...] owl.phy.queensu.ca>
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 >