El 29/07/2010, a las 22:05, Iain Barnett escribió:
've fixed it, but I'm not sure why it didn't originally work with exec().I have a command that straightens curly single quotes,
perl -p -e 's/’/''/g;'
This works with zsh (in the terminal) because I've set the option RC_QUOTE so the double quote within the quotes will become a single one.
Possibly is not working not because it is not using zsh, but because is not using the RC_QUOTE from the user profile. Perhaps if you set it in the Mac OS X Environment.plist, it will be used:
http://developer.apple.com/mac/library/qa/qa2001/qa1067.html
In order to set environment variables for use within applications, you can edit that Environment.plist yourself, or use the RCEnvironment control panel:
http://www.rubicode.com/Software/RCEnvironment/
-- Juande Santander Vela Applied Scientist, Archive Management Group Archive Department, Data Management & Operations Division European Southern Observatory (Germany)
Anónimo: En algún lugar, alguien sueña con tu sonrisa, y cuando está junto a ti piensa que la vida merece la pena. Así que cuando estés a solas, recuerda esta verdad: alguien, en algún lugar, piensa en ti.