[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: piccolo aiutino



bodrato@mail.dm.unipi.it scrisse in data 02/04/2009 09:53:
> Conviene usare sed (o awk, o perl...), ad esempio:
>
> grep -C 1 -o Instrument <miotextfile |
>   sed 's/.*Instrument[: \t]*\([^: \t][^: \t]*\).*/\1/'
>   
Fantastico, mille grazie, è proprio circa quello che mi serve, provo a
raffinarmela un po'...

Piviul


Reply to: