procmqil
Vasilis Vasaitis
vvas at hal.csd.auth.gr
Fri Nov 19 01:55:11 EET 1999
On Thu, Nov 18, 1999 at 11:02:04AM +0000, George Daflidis-Kotsis wrote:
>
> 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.
Όταν κάποιος σε διορθώνει, ψάξ' το λίγο πριν απαντήσεις. Υπάρχει και η
μικρή πιθανότητα να έκανες εσύ λάθος. Ακόμα και η Perl (που τα regular
expressions που έχει είναι γενικά υπερσύνολο αυτών του egrep - upwards
compatible δηλαδή) δες τι λέει:
$ man perlre
..[snip]..
In particular the following metacharacters have their
standard egrep-ish meanings:
\ Quote the next metacharacter
^ Match the beginning of the line
. Match any character (except newline)
..[snip]..
> Den gnwrizw ti soi ulopoihsh kanei to procmail. Gia thn istoria, to makro tou
> Sotiri den mou doulepse :-)
Ξανά, η τεκμηρίωση αποδεικνύεται πολύτιμος σύμμαχος:
$ man procmailrc
..[snip]..
Conditions start with a leading *', everything after that
character is passed on to the internal egrep literally,
except for leading and trailing whitespace. These regular
expressions are completely compatible to the normal
egrep(1) extended regular expressions. See also Extended
regular expressions.
..[snip]..
--
Vasilis Vasaitis
vvas at hal.csd.auth.gr
Nuke them till they glow, then shoot them in the dark.
--
====================================================================
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