procmail
[Top] [All Lists]

Re: skipped braces

2000-09-16 19:51:24
Glad you found it, Dallman.  My first guess wasn't that one was quoted and
one not, but that one was separated by whitespace and one was not.  So my
first guess was wrong.

| 5:03pm ~/Mail> sed 's/{/  & /g; /{/\!d' ~/.procmailrc | fmt -1 | grep -c {  
| 165
| 5:03pm ~/Mail> sed 's/}/  & /g; /}/\!d' ~/.procmailrc | fmt -1 | grep -c }
| 165

Oh, my stars.  If I were still in orthodontia, it would be, "oh, my braces."

  tr -dc '{' < ~/.procmailrc | wc -c
  tr -dc '}' < ~/.procmailrc | wc -c

Or if you feel whimsical,

  expr `tr -dc '{' < ~/.procmailrc` : '.*'
  expr `tr -dc '}' < ~/.procmailrc` : '.*'


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>