Re: Erasing data...

From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 07/28/05


Date: Wed, 27 Jul 2005 23:17:11 -0400

On 27 Jul 2005 18:29:46 -0700, Shiva MahaDeva
  <contracer11@gmail.com> wrote:
> Hi UNIX masters:
>
> Can you show me how erase all data form this lines, only
> mantaining lexmark name ?
>
>
>:bsdaddr=sunfire01,lexmark015,Solaris:
>
>:bsdaddr=sunfire01,lexmark012:\
>
> Thanks.

sed 's/.*\(lexmark[0-9]*\).*/\1/'

-- 
Tonight you will pay the wages of sin; Don't forget to leave a tip.