[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: File contents



On Tue, May 07, 2002 at 10:43:42AM +0200, Stephane Bortzmeyer wrote:
> > does python have an edit-in-place command line option, like perl's -i?
> 
> Unfortunately no, but you can easily write a script which will do the
> same. Here is an example, quick and dirty, but doing a part of the job
> of -i:

[...23 line script fragment deleted...]

ah yes.  i can see the simplicity and elegance of python over perl here.

why use a command line option when 23 lines of script can emulate part
of it?


:-)


craig

-- 
craig sanders <cas@taz.net.au>

Fabricati Diem, PVNC.
 -- motto of the Ankh-Morpork City Watch


-- 
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: