Message109038
| Author |
ralph.corderoy |
| Recipients |
benjamin.peterson, eric.araujo, facundobatista, georg.brandl, ncoghlan, nessus42, pitrou, r.david.murray, ralph.corderoy, rhettinger |
| Date |
2010年07月01日.10:05:03 |
| SpamBayes Score |
0.09112261 |
| Marked as misclassified |
No |
| Message-id |
<1277978705.51.0.518987497762.issue1152248@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Google has led me here because I'm trying to see how to process find(1)'s -print0 output with Python. Perl's -0 option and $/ variable makes this trivial.
find -name '*.orig' -print0 | perl -n0e unlink
awk(1) has its RS, record separator, variable too. There's a clear need, and it should also be possible to modify or re-open sys.stdin to change the existing separator. |
|