This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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