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

Re: re- shell scripting



On Fri, Jul 30, 1999 at 03:24:56PM +0300, guy keren wrote:
> On Tue, 27 Jul 1999, Gaal Yahas wrote:
> 
> > Aaaarrrggghh!! Will people save themselves the trouble of learning
> > csh "programming", then spending hours of funless debugging and
> > bug incompatibilities across machines?
> 
> ah... such a short-sighted point of view... it's not like you, gaal.

Thanks for the compliment.

> sometimes, you get into an environment where there are many csh scripts
> written and you need to modify or maintain them. then, youll be glad you
> knew how to write csh scripts.

Believe me, I know about these environments. But remember we're
talking about someone who's starting with scripting - why begin with
a bad tool? You can always learn MORE.

> let me modify your moto then:
> 
> _DO_ learn csh programming, but _DON'T_ use it unless you have to, because
> of ... (quote your own reason here).

If I am allowed, I'd modify this to

_DO_ learn everything you can, and prioritize your learning; give a
big advantage to things that can help you learn MORE, such as using
help systems; and tools that are generic and have a wide support
base. At your leisure, learn about weird things such as csh and
obfuscated programming contests.

People will smile and say that I've engineered this motto to make it
point to Perl; well, I'd say that the reason I like Perl is because
it fits so well with this motto. 

> i'd still put exceptions to this - such as command-line scripts (a-la
> 'foreach...').

Well, that's the interactive world. I admit I use tcsh too.

perl -le 'print "Just another \u$^X hacker,"'
-- 
believing is seeing
gaal@forum2.org
http://www.forum2.org/gaal/

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il