baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: mikkel meinike <mimeini AT gmail.com>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] Busybox sed
- Date: Sat, 26 Nov 2005 12:58:19 +0000
On 11/26/05, mikkel meinike <mimeini AT gmail.com> wrote:
> On 11/25/05, 3aoo-cvfd AT dea.spamcon.org <3aoo-cvfd AT dea.spamcon.org> wrote:
Yes now I have tried and I understand. Stevens Idea works fine if you
like in my ex. are on only one line. But it will not work if you are
on several lines:
car
woman
word A
elephant
house
dog
hotdog
word B
gymnastic
music.
But David suggestion to try with sed '/word A/,/word B/d' worked so
the only solution I could come with fore the problem is not elegant
but good enough for me:
echo "word A" > bbb.txt;
sed '1,/word A/d' aaa.txt | sed /word B/,100d >> bbb.txt;
echo "word B" >> bbb.txt
/Mikkel
-
[BL] Busybox sed,
mikkel meinike, 11/25/2005
-
Re: [BL] Busybox sed,
Anthony Albert, 11/25/2005
- Re: [BL] Busybox sed, David Moberg, 11/25/2005
-
Re: [BL] Busybox sed,
3aoo-cvfd, 11/25/2005
-
Re: [BL] Busybox sed,
mikkel meinike, 11/26/2005
- Re: [BL] Busybox sed, mikkel meinike, 11/26/2005
-
Re: [BL] Busybox sed,
mikkel meinike, 11/26/2005
-
Re: [BL] Busybox sed,
Anthony Albert, 11/25/2005
Archive powered by MHonArc 2.6.24.