Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2007 08:57:38 -0400
From:      "Grant Peel" <gpeel@thenetnow.com>
To:        "Gary Kline" <kline@tao.thought.org>, "Garrett Cooper" <youshi10@u.washington.edu>
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, freebsd-questions@freebsd.org
Subject:   Re: csh if..then delhema.
Message-ID:  <006901c7f2e1$0067bb30$6501a8c0@GRANT>
References:  <000801c7f274$6fae71e0$6501a8c0@GRANT> <20070909020657.GA4912@kobe.laptop> <46E367F7.6060705@u.washington.edu> <20070909081927.GB98684@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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@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@freebsd.org mailing list
  > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

  -- 
  Gary Kline kline@thought.org www.thought.org Public Service Unix
  http://jottings.thought.org http://transfinite.thought.org


------------------------------------------------------------------------------
        Total Control Panel  Login  
        To: gpeel@thenetnow.com  Message Score:  50   High (60): Pass  
        From: kline@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.  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006901c7f2e1$0067bb30$6501a8c0>