[ LUGOS-PROG ] Izpis dolocene vrstice...

Ales Casar casar at uni-mb.si
Wed Apr 4 23:57:28 CEST 2001


On Wed, 4 Apr 2001, Zoran Bosnjak wrote:

> $ awk '{ line+=1 }; {if (line==1000) {print $0; exit}}; ' t1

Potem je ze boljse narediti takole:

	awk '{if (NR==1000) {print; exit;}}' t1

Ales

-- 
Ales Casar                  | InterNet: Casar at uni-mb.si, A.Casar at ieee.org,
Faculty of EE & CS          |           A.Casar at s-gms.ms.edus.si
University of Maribor       | DECnet:   RCUM::ALES
SLOVENIA                    | WWW:      http://www.el.feri.uni-mb.si/~ales/




More information about the lugos-prog mailing list