On Mon, 2005-04-25 at 15:20 +0300, Bogdan Rotariu wrote:
> Bogdan Agica wrote:

> >
> super, dar nu reusesc sa fac un script sa-mi scoata #
> 
=====
#!/bin/sh

IP=$1
FILE=$2

IP=`echo $IP | sed 's/\./\\./g' `

sed -e "/$IP/s/^\#//" -i $FILE
=====

Elementary, my dear Watson :)

-- 
Kramer



-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/


--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui