The UNIX and Linux Forums  

Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
.
google unix.com



UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Question regarding syntax of (lis) and { list;} hongwei UNIX for Dummies Questions & Answers 1 04-22-2009 08:26 AM
AWK syntax question Leo_NN UNIX for Dummies Questions & Answers 5 10-28-2008 12:18 PM
Question on Find Utility marlonus999 Shell Programming and Scripting 5 09-19-2007 03:53 AM
Simple Awk Question: If Syntax natdeamer Shell Programming and Scripting 1 09-10-2007 12:53 PM
awk syntax question hcclnoodles Shell Programming and Scripting 2 10-28-2004 12:45 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-04-2009
SilversleevesX SilversleevesX is offline
Registered User
  
 

Join Date: May 2009
Location: Northeast USA
Posts: 48
Iptc utility syntax question

I just found and installed David Moore's libiptcdata with its iptc command-line utility. It's about the latter that my question is based.

The usage syntax is : iptc [OPTIONS] [FILE]...
where -m requires an IPTC field name, and -v is the value to assign or modify in that field. This value is a string bounded in double quotes. The thing I'm curious about (and as this little toy was written in 2005 I doubt Mr Moore is at his same email address as the one posted on his SourceForge manual page shows) is as follows:

How would one safely punctuate the value string, say, for a Caption or Special Instructions?

I've already tried an exclamation point, whereupon my bash shell reminded me that's a command in that shell (it noticed it even as it was in dbl-quotes). I suspect, then, that an alternate means of punctuation would have to be used. Having never installed or made any use of anything like this, I'm guessing it would either be the hex corresponding to the punctuation mark one wanted to represent, joined to the rest of the string by ampersand/s, or else an ampersand and another string containing the PM.
I suppose, also, that a hint or clue as to why would be in the C++ code in which this was written. Problem is, I don't know C++ well enough to know what to look for.

Could someone familiar with C++ coding download the libfiles (etc) and try to glean what the safer syntax would be to punctuate these strings [hex or &-signs between strings]?

Thanks for giving this a read.

BZT
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0