Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

estrarre righe da file di testo

52 views
Skip to first unread message

pikappa

unread,
Feb 8, 2009, 2:38:28 PM2/8/09
to
Vorrei estrarre alcune righe di un file di testo
con questo comando ho identificato la prima riga (grep -n "marker"
testo.txt | cut -f 1 | tr -d : )
ora da questa riga devo estrarre le 5 righe successive

Piergiorgio Sartor

unread,
Feb 8, 2009, 2:47:35 PM2/8/09
to

Hai controllato le opzioni -A/-B/-C di (GNU) grep?

bye,

--

piergiorgio

pikappa

unread,
Feb 9, 2009, 5:19:54 AM2/9/09
to
Piergiorgio Sartor ha scritto:
Veramente no , grazie molte :)
0 new messages