csh if..then delhema.
Grant Peel
gpeel at thenetnow.com
Sun Sep 9 05:58:30 PDT 2007
Thanks for the input gentlemen,
Interesting to that the question was posted by G(rant) and then answered by G(ary), G(arrett) and G(iorgos)! (what are the odds!).
Anywho, I am busily converting the script to perl as per the suggestions. I use tcsh rarely, had I of known the quirks I woul shave done it in perl from the beguining.
As for Garrett's case method, it didnt work. Created a "case: Too many arguments." error. Perhaps because it itself is nested in a 'foreach' statement.
Thanks again guys,
-Grant
----- Original Message -----
From: Gary Kline
To: Garrett Cooper
Cc: Giorgos Keramidas ; Grant Peel ; freebsd-questions at freebsd.org
Sent: Sunday, September 09, 2007 4:19 AM
Subject: Re: csh if..then delhema.
On Sat, Sep 08, 2007 at 08:26:47PM -0700, Garrett Cooper wrote:
> Giorgos Keramidas wrote:
> >On 2007-09-08 20:00, Grant Peel <gpeel at thenetnow.com> wrote:
> >
>
> tcsh can burn in hell for all I care. It's a horrible shell IMNHO
> (in my not-so humble opinion). Now if I could only convince the rest of
> the EE community to agree, that'd be nice. Trolls welcome :).
You are right on the money from my experience, Garrett. BillJoy
got most things right, but the csh is a dead loser. (I was
forced to xlate my /bin/sh code into csh for years! Foo!
Steve Borne wins this one.
gary
>
> -Garrett
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
--
Gary Kline kline at thought.org www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
------------------------------------------------------------------------------
Total Control Panel Login
To: gpeel at thenetnow.com Message Score: 50 High (60): Pass
From: kline at tao.thought.org My Spam Blocking Level: High Medium (75): Pass
Low (90): Pass
Block messages from this sender (blacklist)
This message was delivered because the content filter score did not exceed your filter level.
More information about the freebsd-questions
mailing list