On Mon, 9 Jun 2003, Post, Mark K wrote:

> >
> > echo >/proc/chandev shutdown eth0

I feel impelled to mention that this form is really useful. I often
write sed programs thus as I find it more readable than anything else
Ive come up with:
mv /etc/vim/vimrc /etc/vim/vimrc~
sed </etc/vim/vimrc~ >/etc/vim/vimrc \
        -e '/syntax/ s=" ==' \
        -e '/nobackup/ s=nobackup=backup='\
        -e '/showmatch/ s="=='\
        -e '/ignorecase/ s="=='\
        -e '/incsearch/ s="=='\
        -e '/autowrite/ s="=='\

And, if you use vim on Debian, you'll probably like the result of
running this;-)



--


Cheers
John.

Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb

Reply via email to