[eside-ghost] cojo expresion regular
txipi
txipi en sindominio.net
Mie Ago 25 14:43:16 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aupa Ender!
On Wed, 25 Aug 2004 14:14:30 +0200
EDUVEDDER <EDUVEDDER en terra.es> wrote:
> O sea que si me viene un mail con estas cabeceras...
> From: manuela_2525 en yahoo.es
> X-Priority: 1
> From: manuela_2525 en yahoo.es
> X-Priority: 1
> From: manuela_2525 en yahoo.es
> X-Priority: 1
> ...
> ...
No creo que te valga llamar a un script, pero si es así, yo haría
EMAIL=$(cat $1)
echo $EMAIL | grep "\(.*X-Priority.*\)\{3,\}" && exit 0
exit 1
- --
Agur
txipi
wget -O - http://sindominio.net/~txipi/txipi.gpg.asc | gpg --import
Key fingerprint = CCAF 9676 B049 997A 96D6 4D7C 3529 5545 4375 1BF4
The worst sin towards our fellow creatures is not to hate them,
but to be indifferent to them; that's the essence of inhumanity.
-- G.B. Shaw
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBLIlkNSlVRUN1G/QRAmnaAKCJoPmWleFGP/e48M0nuThlEyt7tgCgpg3l
uhZq92xFn5e2c73bb4G00z0=
=fRCe
-----END PGP SIGNATURE-----
Más información sobre la lista de distribución eside-ghost