regular expression

Steve Stavropoulos steve at math.upatras.gr
Fri Jun 29 06:08:01 EEST 2001


Ap' oti eida den sou eipe kaneis mexri twra thn pio swsth lysh gia na
kaneis ayto pou 8es, opote 8a sthn pw egw:

gia thn agglikh le3h:
cat kokos | cut -d "=" -f 1
gia thn ellhnikh:
cat kokos | cut -d "=" -f 2

kai mia bonus seira entolwn (prosfora tou katasthmatos):
cat kokos | grep 'english_word' | cut -d "=" -f 2


On Thu, 28 Jun 2001, 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
>
>




More information about the Linux-greek-users mailing list