echo "#1.1.1.1.1"|tr -d "#"
On Mon, 2005-04-25 at 15:20, Bogdan Rotariu wrote: > Bogdan Agica wrote: > > >>#1.2.3.4 > >> > >> > >> > >Un pic mai elegant: > > > >====== > >#!/bin/sh > > > >IP=$1 > >FILE=$2 > > > >IP=`echo $IP | sed 's/\./\\./g' ` > > > >sed -e "/$IP/s/^/\#/" -i $FILE > >====== > > > > > > > super, dar nu reusesc sa fac un script sa-mi scoata # -- Attached file included as plaintext by Ecartis -- -- File: signature.asc -- Desc: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQBCbOGuLmEHPwOBBE8RAkUTAJ9BW6I4Aw15CHBXBB9nfRDAuq1tQQCdHupI T4QhU5OJE9ZK51OE722278U= =F4b9 -----END PGP SIGNATURE----- --- Detalii despre listele noastre de mail: http://www.lug.ro/
