procmqil
Giorgos Keramidas
keramida at ceid.upatras.gr
Fri Nov 19 12:09:58 EET 1999
George Daflidis-Kotsis <gdk at demon.net> writes:
> On Wed, Nov 17, 1999 at 09:45:59AM +0200, Giorgos Keramidas wrote:
>
> > > Gia thn akribeia to "." sta regular expressions shmainei "a non-whitespace
> > > character", to "*" shmainei "zero or more", opote to ".*" shmainei "zero or
> > > more non-whitespace characters".
> >
> > Konta epeses, alla oxi akribws. Gia des ti mou leei i grep(1) mou:
>
> Anaferomoun sta regular expressions ths perl gia na eimai eilikrinhs, pou
> 8ewreitai kalh ulopoihsh twn regular expressions, to grep exei genika
> para3enh sumperifora, den upologizei escaped characters kai alla tetoia
> omorfa.
Mia xara ulopoinsn einai. Kai malista to leei ki auti rhta sto manual
page tou perlre(1):
In particular the following metacharacters have their
standard egrep-ish meanings:
...
. Match any character (except newline)
...
akoma ki an xrhsimopoihseis to //s option to mono pou allazei einai oti
tote kanei match to . KAI me to newline.
> Den gnwrizw ti soi ulopoihsh kanei to procmail.
Tin ulopoinsn pou kanei kai o vi, kai o ed, klp. Kapoia pragmata opws
to oti me \ kaneis escape ton epomeno xarakthra, opws to oti to
expression ^.*$ kanei match me opoiadnpote grammh, einai apo ayta sta
opoia mporeis na upologizeis stis pio polles regexp ulopoinseis.
Eksallou to eipame, to Unix ti parapano exei apo to DOS? Mia regexp
bibliothiki pou paei pantou, ki ena kapws pio sobaro kernel :ppp
--
Giorgos Keramidas, <keramida at ceid.upatras.gr>
"What we have to learn to do, we learn by doing." [Aristotle]
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================
More information about the Linux-greek-users
mailing list