alias messup_count {
echo -a hello blahaliasblah
alias -r moo
}
Your wildcard match is way too general. A regular expression like /^\s*\/*[!\.]*alias\s+(-l|[^-])/ should do (some quick testing has given correct results).
Last edited by starbucks_mafia; 03/03/1108:27 PM.
Spelling mistakes, grammatical errors, and stupid comments are intentional.