I'd like to know if it's possible to combine the -i and -e switches. I have the following script, and I'd like not to have to go to the bother of firing up an editor, chmod +x ing it and co:
#!/usr/bin/perl -w open FILE, $ARGV[0]; while (<FILE>) { print if (/(^org_name)|(^email)|(^$)/); } This script is for validating some paragraph delimeted data files for what it's worth... TIA KD -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]