Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2002 22:44:58 +0200
From:      Matthias Buelow <mkb@mukappabeta.de>
To:        Benoit Lacherez <blacherez@ac-bordeaux.fr>
Cc:        Matthew Hunt <mph@astro.caltech.edu>, j mckitrick <jcm@FreeBSD-uk.eu.org>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Why does 'sed' delete my input file?
Message-ID:  <20020602204458.GB699@altair.mukappabeta.net>
In-Reply-To: <20020602205338.A22684@bisclavret>
References:  <20020531130029.B28925@dogma.freebsd-uk.eu.org> <20020531141421.A72043@bisclavret.iris33.ac-bordeaux.f> <20020531132211.A29199@dogma.freebsd-uk.eu.org> <20020531094720.C34758@wopr.caltech.edu> <20020602205338.A22684@bisclavret>

next in thread | previous in thread | raw e-mail | index | archive | help
Benoit Lacherez writes:

>You're right!  I had never done that with a big file, but actually it
>is truncated.  So I'll do with a temporary file, now.

if you want to do in-place editing, you can also use ed (the standard
text editor) by giving it its commands on stdin.

--mkb


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020602204458.GB699>