Skip to Content.
Sympa Menu

baslinux - [BL] Busybox sed

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: mikkel meinike <mimeini AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: [BL] Busybox sed
  • Date: Fri, 25 Nov 2005 13:26:19 +0000

He

Busybox sed will not doe what I want it to do. The normal sed can
print all the text in a text file that exist from first appetence off
"word A" until next appetence off "word B".
like this:
sed -e '/word A/,/word B/p' myfile.text > an_other_file.text

so from file:
car, woman, word A, elephant, house, dog, hotdog, word B, gymnastic, music.

It will print:
word A, elephant, house, dog, hotdog, word B

1 Do you have a way to do that with busybox sed?
2 Is there an other busybox tool that does that (what about busybox
awk) and if yes how?
3 Can I just install the real sed from /a3/bin.tgz ore will it
conflict with the busybox sed?

And than about editors. I have now successfully moved over "ae" from
mulinux to BL3 it is very small and can do only a few things but what
it does it does in a very simple and fast (often only one function
key) way. And it does continues word wrap I mean it only wraps the
lines visually but it does not put in any line breaks on its own.
After editing there is a sed command (I cant remember it right now)
that can put in line break at every line after the 72 character for
instance.
/Mikkel




Archive powered by MHonArc 2.6.24.

Top of Page