Trying to use perl -e in a csh alias, but can't find the right combination of "/'/and backslashes to make this work... The command strips out any lines containing '$mail_cmd'...
This is a simple example which can be achieved using grep or sed, but does anyone know how to solve the general problem & define this alias?alias rfw "cat \!^ | sybperl -e 'while (<>) { print if !/$mail_cmd/; } +' | sybperl"
No wonder the perl gurus created q() & qq() - very smart :)
Thanks
In reply to csh, alias, perl & quotes by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |