in reply to csh, alias, perl & quotes

cat filename | perl -ne '/\$mail_cmd/||print' # or perl -ne '/\$mail_cmd/||print' filename


Replies are listed 'Best First'.
Re^2: csh, alias, perl & quotes
by merlyn (Sage) on Jun 17, 2005 at 10:40 UTC
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^2: csh, alias, perl & quotes
by Anonymous Monk on Jun 17, 2005 at 10:27 UTC
    The problem is getting the perl -e code inside a csh alias when the perl code includes $ and !'s...
      Smylers - many thanks for taking the time to explain this :)