>  Iz neke datoteke s tekstom bi rad dobil vrstico ki vsebuje "Besedo" +
> slede�ih n vrstic. Kako in s �im?
man grep:
   -A NUM, --after-context=NUM
              Print NUM lines of trailing context after  matching
              lines.

Torej 
grep -A n "Beseda" filename

Одговори путем е-поште