procmail
[Top] [All Lists]

Re: procmail/sed script for Travelocity fare updates

2001-03-05 14:00:36
Philip Guenther answered my question re: problems splitting a pipe to a
perl one-liner over multiple lines, saying in part:

| When procmail passes commands to the shell, it leaves the
| backslash/newline combos in the string it passes to the shell**.
| The shell generally strips these out, but it doesn't remove them when
| they occur between single-quotes.
| [...]
| ** If a line contains _only_ a backslash, then procmail will leave out
| the backslash, thereby passing an unescaped newline to the shell.

Philip,

Thanks for finding the question buried amongst the rest of the mess,
and even more for the answer. It gives me something to play with and
learn from beyond this one example. I appreciate it.

Don Hammond



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