[TxMt] tm_dialog: *.plist | pl -> utf8 SOLUTION

Allan Odgaard throw-away-1 at macromates.com
Fri Nov 17 22:42:04 UTC 2006


On 17. Nov 2006, at 16:25, Hans-Joerg Bibiko wrote:

> [...] I wrote two BASH scripts 'plutf8' and 'defaultsread'.
>
> [...] Maybe these scripts are worth to put into the TM release (?)
>
> Comments??

While I would certainly love to make it easier to work with plists  
from pure bash scripts, the problem is, that the old-style format  
does not support dates, booleans, and integers.

Booleans and integers I guess are fine as strings (0/1 for booleans).  
Dates, I am not sure what the best representation is, but probably  
the YYYY-MM-DDTHH:MM:SSZ variant.

But if this is only for shell, how about making a function exports  
them as variables? Then we can also have it use bash arrays for arrays.




More information about the textmate mailing list