From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Nasrat Subject: Re: ash and String Manipulation Date: Tue, 7 Jan 2003 12:52:10 +0000 Sender: linux-8086-owner@vger.kernel.org Message-ID: <20030107125209.GD29126@raq465.uk2net.com> References: <1041943344.20658.9.camel@irongate.swansea.linux.org.uk> <20030107121202.GB29420@calcitration.ecs.soton.ac.uk> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20030107121202.GB29420@calcitration.ecs.soton.ac.uk> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-8086@vger.kernel.org On Tue, Jan 07, 2003 at 12:12:02PM +0000, Al Riddoch wrote: Wow I didn't know you were still following ELKS :) > > There are several small sed implementations. One obvious candidate is > > the sed from http://www.tuxedo.org/~esr/software.html I'm pretty sure I've seen this working on elks too. Quick check, compiles ok under elksemu [pauln@host sed]$ file sed sed: Linux-8086 executable not stripped [pauln@host sed]$ echo foo bar baz | ./sed 's/foo/bar/' bar bar baz Paul diff -ruN sed-minix/Makefile sed/Makefile --- sed-minix/Makefile Mon Jun 1 17:46:50 1998 +++ sed/Makefile Tue Jan 7 12:45:24 2003 @@ -2,14 +2,16 @@ VERSION=1.3 -CFLAGS=-g -LFLAGS=-lg +CFLAGS=-0 +CC=bcc +CPP=gcc -E +#LFLAGS=-lg sed: sedcomp.o sedexec.o - cc $(LFLAGS) sedcomp.o sedexec.o -o sed + bcc $(LFLAGS) sedcomp.o sedexec.o -o sed mnsed: mnsed.c - cc $(LFLAGS) mnsed.c -o mnsed + bcc $(LFLAGS) mnsed.c -o mnsed sedcomp.o: sedcomp.c sed.h sedexec.o: sedexec.c sed.h