[TxMt] export property list keys as BASH variables NEW VERSION

Hans-Joerg Bibiko bibiko at eva.mpg.de
Mon Nov 20 16:25:30 UTC 2006


Hi,

here comes the revised version.

Changes:
-better escaping for values (hopefully I caught all; "foo"\!" bar"  
works fine)
-improved error handling (also checking if variable name is not valid  
for bash)
-errors are outputted as tooltips
-added the option '-a' to export a plist array as a single string  
delimited by TABs for 'export'
-fixed the problem to delete the temporary file if <data> syntax is  
not valid

More details at the beginning of the attached file 'exportpl'

Question:
Is there any case that the plist coming from tm_dialog contains  
NSBoolean or NSData? If yes, what is the best way to handle these?


Have a nice day,

and comments are welcome, as always

Hans

-------------- next part --------------
A non-text attachment was scrubbed...
Name: exportpl
Type: application/octet-stream
Size: 6895 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061120/570a1eef/attachment.obj>
-------------- next part --------------









More information about the textmate mailing list