regular expression

Antonis Malihutsakis linux at malihu.gr
Thu Jun 28 13:38:00 EEST 2001


cat dokimi.txt | awk -F'=' '{ print $1}'

P.x. cat dokimi.txt | awk -F'=' '{ print $1,"σημαίνει",$2}' outputs "one 
σημαίνει ένα".

man awk
man grep
man regexp

-- 
Antonis Malihutsakis

ASP wrote:

> hello hello
> 
> loipon exw to parakatw arxeio dokimi.txt to opoio periexei :
> 
> one=ενα
> two=δυο
> three=τρια
> w.a.s.p.=συγκροτημα.
> (big)=(μεγαλο)
> 
> 8elo na emfaniso me xrisi regular expression
> 
> a)  tin prwti stili dil ta agglika  xwris to ison (=) alla me tis telies kai
> tis paren8eseis opos einai dil olokliri i leji
> b) tin deyteri stili dil ta ellinika  xwris to ison (=) alla me tis telies
> kai tis paren8eseis opos einai dil olokliri i leji
> 
> :)) filakia
> 
> 
> 
> 
> --
> linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list