[BusyBox] FIxing Hiroshi Ito's other sed bug.

Hiroshi Ito ito at mlb.co.jp
Thu Nov 25 07:00:23 UTC 2004


Hello

From: Rob Landley <rob at landley.net>
Subject: [BusyBox] FIxing Hiroshi Ito's other sed bug.
Date: Tue, 23 Nov 2004 07:19:43 -0500
Message-Id: <200411230719.43494.rob at landley.net>
> Okay, currently sed's $ triggers at end of every file, and with multiple files 
> SuSv3 says it should only trigger at the end of the LAST file.  (Unless we're 
> doing -i, anyway.)
> 
> Getting this right required restructuring things to create a file list 
> (actually a FILE * list), and then processing it all in one go.  Unless, of 
> course, you're using -i...
> 
> I think this patch fixes it.  Hiroshi, wanna re-run your tests?  It works for 
> me (gnu and busybox sed produce same results) with:


  Yes, I played with your patch,
  and it works fine.

  Thank you.
--------
Hiroshi Ito
Media Lab. Inc.,
URL http://www.mlb.co.jp ( Sorry, Japanese only. )
TEL +81-3-5294-7255  FAX +81-3-5294-7256



More information about the busybox mailing list