Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Replacing sed for zsh portability
- X-seq: zsh-users 9324
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: Replacing sed for zsh portability
- Date: Tue, 16 Aug 2005 18:34:20 +0200
- In-reply-to: <20050816161814.GA10992@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050815103557.GA1411@DervishD> <20050816154033.GY10992@xxxxxxxxxxxxx> <20050816155114.GA1854@DervishD> <20050816161814.GA10992@xxxxxxxxxxxxx>
Vincent Lefevre wrote:
> I've had to switch to Perl for a simple replacement just because
> in-place editing with sed isn't supported everywhere, and when it
> is supported, it doesn't behave in the same way on every machine.
If it is in-place editing you want, you can always use ed.
You need to use a here-document for the replacement command but it works
well.
Oliver
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author