On 14 March 2011 12:33, laurent laffont <laurent.laff...@gmail.com> wrote: > Hi, > Is it possible today to write this using Coral ? > find application library -type f \( -name "*.php" -o -name "*.phtml" \) > -exec /usr/local/bin/xgettext -j -L PHP --from-code=utf-8 > --keyword=traduire --keyword=_ -o library/translation/fr.pot {} \; > for i in `ls library/translation/*.po` > do > /usr/local/bin/msgmerge -s $i library/translation/fr.pot -o $i > /usr/local/bin/msgfmt -o `echo $i|cut -d '.' -f1`.mo $i > done > every time i see things like that i want vomit :)
> > I need to write several scripts like this - would be cool to start with > Coral. Yes. Definitely :) > > Laurent Laffont - @lolgzs > > Pharo Smalltalk Screencasts: http://www.pharocasts.com/ > Blog: http://magaloma.blogspot.com/ > Developer group: http://cara74.seasidehosting.st > -- Best regards, Igor Stasenko AKA sig.