----- Messaggio originale ----- > Da: Paolo Sala <[email protected]> > A: debian-italian <[email protected]> > Cc: > Inviato: Venerdì 27 Gennaio 2012 12:23 > Oggetto: Re: aiutino RE > > Walter Valenti scrisse in data 27/01/2012 12:16: >> Un semplice confronto ? >> >> if [ "$VAL" -gt 23 ] -a [ "$VAL" -lt 193]; then >> > ...magari! devo filtrare migliaia di righe ed estrarre soltanto quelle > che contengono, in un preciso punto, un numero in un intervallo... a me > viene in mente soltanto grep.
Potresti usare il perl. Puoi isolare i blocchi numerici: (mi sembra di avere capito che sono sempre di 3 cifre) (\d\d\d) > > Piviul > > > -- > Per REVOCARE l'iscrizione alla lista, inviare un email a > [email protected] con oggetto "unsubscribe". Per > problemi inviare un email in INGLESE a [email protected] > > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact > [email protected] > Archive: http://lists.debian.org/[email protected] > -- Per REVOCARE l'iscrizione alla lista, inviare un email a [email protected] con oggetto "unsubscribe". Per problemi inviare un email in INGLESE a [email protected] To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

