Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!convex!convex.COM From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.lang.perl Subject: Re: perl -i bug Message-ID: <111561@convex.convex.com> Date: 17 Dec 90 05:51:00 GMT References: <111455@convex.convex.com> Sender: news@convex.com Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 21 Speaking of 'perl -i' bugs... I just did this % mkdir testdir % perl -i -p -e 's/x/x/' testdir Can't do inplace edit. Which is nice, although the file's name and why would be nice. But this is really what I would consider wrong: % perl -i.bak -p -e 's/x/x/' testdir % ls -Fd testdir* testdir* tdestir.bak/ Don't you think? --tom -- Tom Christiansen tchrist@convex.com convex!tchrist "With a kernel dive, all things are possible, but it sure makes it hard to look at yourself in the mirror the next morning." -me