[LUGOS] grep

Jernej Simončič jernej.listsonly at ena.si
Sun Dec 2 18:09:13 CET 2007


On Sunday, December 2, 2007, 16:01:37, Matjaz Kljun wrote:

> egrep 'yes|no$' datoteka.txt

To pomeni "vsaka vrstica, v kateri se pojavi yes, ali/in ki se konča z
no.

> Pri drugi pa na 'o' in predzadnja je ali 'n' ali 's' in še 'ye' pred tem.

To bi bilo ye[ns]o$ ali ye(n|s)o$.

-- 
< Jernej Simončič ><><><><>< http://deepthought.ena.si/ >

Where are the calculations that go with the calculated risk?
       -- Katz's First Maxim



More information about the lugos-list mailing list