Editors in the default install Slimming down default install?)

Markus Hubig ubuntu at pot.ath.cx
Sun Dec 5 17:40:52 CST 2004


On Mon, 06 Dec 2004, Ruben Vermeersch wrote:

> On ma, 2004-12-06 at 00:05 +0100, Kristof Vansant wrote:
> > > - nano is present to provide a basic text editing facility for recovery and
> > >   diagnostic use, which anyone can easily learn and use
> > don't you have cat, more, grep, less etc for that?
> 
> How are you going to uncomment a line using those?

Hmm, quite simple, maybe the 2nd one? 

| sed -ie "2s/^/#/" file.txt

or all starting with 'blub'?

| sed -ie "/^blub/s/^/#/" file.txt

just as easy as using ed ;-)
 
   - Markus

-- 
Ja allâh bina!



More information about the ubuntu-devel mailing list