Re: Complex quoting task in tcsh

2003-12-30 Thread Daniela
Message - From: Daniela [EMAIL PROTECTED] Subject: Complex quoting task in tcsh I'm writing a tcsh script and I can't figure out how to escape that #. I tried all possible variations, and it always says I have a syntax error. Here's one: if ($line =~ #*) Or is there another way

Re: Complex quoting task in tcsh

2003-12-30 Thread Rob
On Wednesday 31 December 2003, Daniela [EMAIL PROTECTED] wrote: On Monday 29 December 2003 05:06, Rob wrote: Daniela, This isn't the answer you would like, but tcsh is generally considered a bad language for writing scripts*. It's an excellent command-line shell, but scripts are not

Complex quoting task in tcsh

2003-12-28 Thread Daniela
I'm writing a tcsh script and I can't figure out how to escape that #. I tried all possible variations, and it always says I have a syntax error. Here's one: if ($line =~ #*) Or is there another way to find out if the line starts with a hash mark? Regards, Daniela

Re: Complex quoting task in tcsh

2003-12-28 Thread Rob
/csh.html - Original Message - From: Daniela [EMAIL PROTECTED] Subject: Complex quoting task in tcsh I'm writing a tcsh script and I can't figure out how to escape that #. I tried all possible variations, and it always says I have a syntax error. Here's one: if ($line