Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Bourne / bash problem



On Sun, Apr 26, 2009 at 4:49 PM, SL Baur <steve@example.com> wrote:
> On Sun, Apr 5, 2009 at 8:25 AM, Stephen Lee <sl-tlug@example.com> wrote:
>> # comment
>> options=--option1
>> # comment
>> options+=\ --option2
>> # comment
>> options+=\ --option3
>> # here goes the command
>> command $options
> I'm fortunate to have a guaranteed /bin/zsh regardless
> of whether my script runs on Solaris or Linux at work,
The OP limited himself doing brain surgery with a hammer,
I mean not the right tool.

With scripting languages like Perl or Python, we can have
same effect and readable code.

Thanks for bringing this the the attention, but IMO, most of the options
are self explained, right? Or they should be. So the comments like that
won't be necessary[1].


-- 
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remove}@example.com , YIM: vuhung16 , Skype: vuhung16dg
A brief profile: http://www.hn.is.uec.ac.jp/~vuhung/Nguyen.Vu.Hung.html

[1] At least for me as I can read and write English :D


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links