Message109038
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. |
|
Date |
User |
Action |
Args |
2010-07-01 10:05:06 | ralph.corderoy | set | recipients:
+ ralph.corderoy, georg.brandl, rhettinger, facundobatista, ncoghlan, pitrou, benjamin.peterson, nessus42, eric.araujo, r.david.murray |
2010-07-01 10:05:05 | ralph.corderoy | set | messageid: <1277978705.51.0.518987497762.issue1152248@psf.upfronthosting.co.za> |
2010-07-01 10:05:04 | ralph.corderoy | link | issue1152248 messages |
2010-07-01 10:05:03 | ralph.corderoy | create | |
|