| ||||||
| 5/25 |
| 2010/8/17-19 [Uncategorized] UID:53927 Activity:nil |
8/17 I have a bunch of cron that I want to run but only want to
output to stdout if there is any stderr (or if it returns $?)
so that it'll be in email. Otherwise, I want to output nothing.
Is there a program that does this already?
\_ program >tempfile || cat tempfile; rm tempfile |