Complex quoting task in tcsh

Daniela dgw at liwest.at
Sun Dec 28 18:39:03 PST 2003


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




More information about the freebsd-questions mailing list