Good idea, seems better that way. Benoit, is there a central place we can put this script?
2010/1/17 Doriano Blengino <[email protected]>: > Hi Joshua, > > just took a look at your script, and wanted to make a stupid suggestion. > > Instead of writing: > > echo "[OperatingSystem]" > $OutputFile > echo "OperatingSystem=$OS" >> $OutputFile > > with many repeats, you could do: > > ( > echo "[OperatingSystem]" > echo "OperatingSystem=$OS" > if [ blah blah blah ]; then > ... > fi > ) > $OutputFile > > ...easier to write and less error-prone. > > Just a thought. > > Regards, > > -- > Doriano Blengino > > "Listen twice before you speak. > This is why we have two ears, but only one mouth." > > -- joshua higgins >>>>>>------ ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
