From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2612 Path: news.gmane.org!not-for-mail From: Rob Landley Newsgroups: gmane.linux.lib.musl.general Subject: Re: REG_STARTEND (regex) Date: Tue, 15 Jan 2013 10:11:25 -0600 Message-ID: <1358266285.32505.30@driftwood> References: <20130115134244.GW20323@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp=Yes; Format=Flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1358266303 6033 80.91.229.3 (15 Jan 2013 16:11:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2013 16:11:43 +0000 (UTC) Cc: musl@lists.openwall.com To: musl@lists.openwall.com Original-X-From: musl-return-2613-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jan 15 17:12:01 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Tv97E-0000KF-VE for gllmg-musl@plane.gmane.org; Tue, 15 Jan 2013 17:11:57 +0100 Original-Received: (qmail 5379 invoked by uid 550); 15 Jan 2013 16:11:39 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 5371 invoked from network); 15 Jan 2013 16:11:39 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:subject:to:cc:references:in-reply-to:x-mailer :message-id:mime-version:content-type:content-disposition :content-transfer-encoding:x-gm-message-state; bh=mvgpJzlle2V1zkQ7aUb2WDGsXYcgZIhz+E41nbqGxCk=; b=UdcApxTj/tYzSK3ByRV4nPGbL7vUpBDejHIW7m1oMZVqmPfFNh958XAIMlUFs5R6V4 DK5JujHBnj+SCwDHE8upDX+5bopH/+Ct2SEP0ZLEBQSyciPlRybBdR0wfueisbAPCId3 SsEdT8jT4xJ6IgVzQwvHZwd7XMlC0XxLyj+nadjDaqtYuBYPys/p/TJP0l0daup8LccY whPUbNZkdpV05FBfYxRXDF29ZJs13+o0BBMmUgc+CWKbWSA9Mw0xp3PVn6+OBqmARDhg re4q3UpoxpAe/mGhghP3gYzV9eiAEaECVkV1MvYCP88XKQhoFQEga/oAVYCqkzMR9ZqI IsGQ== X-Received: by 10.60.6.227 with SMTP id e3mr56608024oea.66.1358266287745; Tue, 15 Jan 2013 08:11:27 -0800 (PST) In-Reply-To: (from daniel.cegielka@gmail.com on Tue Jan 15 09:16:29 2013) X-Mailer: Balsa 2.4.11 Content-Disposition: inline X-Gm-Message-State: ALoCoQkPers99tDdjryK9WNwYqueR04z8odcEoOz4YXULM7ZRGWl1NTyLTmAS10yIylGKBLnuhsz Xref: news.gmane.org gmane.linux.lib.musl.general:2612 Archived-At: On 01/15/2013 09:16:29 AM, Daniel Cegie=C5=82ka wrote: > 'sed -i' is used in many programs (even linux, e2fsprogs, old libcap > etc.) and there is no chance to avoid it. So I'm looking for an > alternative to the gnu-sed+gnulib. I found that sed from FreeBSD has > support for -i and is much smaller than the gnu sed: I added -i support to busybox sed back around 2005, and the toybox version should have -i when I get around to writing it. (Still debugging weird cp corner cases at the moment, then mount/umount are up next.) It's trivial to implement. Rob=