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 #
-- Someday, when someone tells me Linux is too hard, I’m going to reply to him or her by saying, “My Grandma runs Linux.” .......................................................................... Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible fordelivery of the message to such person), you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by reply e-mail. --- Detalii despre listele noastre de mail: http://www.lug.ro/
