KEVIN ZEMBOWER wrote:
> John, thank you so much for both your suggestions. Even though Manav's
> suggestions
> work, I learned a little more perl looking up the parts I didn't understand
> in your
> suggestions. With just a slight modification, both of these worked:
>
> perl -l -0777ne'print /L:
John, thank you so much for both your suggestions. Even though Manav's
suggestions work, I learned a little more perl looking up the parts I didn't
understand in your suggestions. With just a slight modification, both of these
worked:
perl -l -0777ne'print /L:(.+)\s/, q/@/, /H:(.+)\s/' `find -n
John W. Krahn wrote:
> KEVIN ZEMBOWER wrote:
>>I have a series of EZMLM configuration files in the ~alias directory that
>>look like this:
>>main:/var/qmail/alias# cat cire/config
>>F:-aBCdEFGHiJKlmnOpQrStuVWXYZ
>>X:
>>D:/var/qmail/alias/cire
>>T:/var/qmail/alias/.qmail-cire
>>L:cire
>>H:infofor
KEVIN ZEMBOWER wrote:
> I have a series of EZMLM configuration files in the ~alias directory that
> look like this:
> main:/var/qmail/alias# cat cire/config
> F:-aBCdEFGHiJKlmnOpQrStuVWXYZ
> X:
> D:/var/qmail/alias/cire
> T:/var/qmail/alias/.qmail-cire
> L:cire
> H:infoforhealthx.org
> C:
> 0:
>
in
>>> Manav Mathur <[EMAIL PROTECTED]> 08/17/05 05:08PM >>>
- Original Message -
From: "KEVIN ZEMBOWER" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 18, 2005 1:06 AM
Subject: Finding matches and use of __END__ in a one-liner
I have a series of
- Original Message -
From: "KEVIN ZEMBOWER" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 18, 2005 1:06 AM
Subject: Finding matches and use of __END__ in a one-liner
I have a series of EZMLM configuration files in the ~alias directory that
look like this:
main:/var/
Manav, thanks for your suggestion. Your suggestion came so close to solving my
problem:
main:/var/qmail/alias# for x in `find -name config`; do { perl -ne
"($name)=/L:(.*)$/; ($add)=/H:(.*)$/; END { print [EMAIL PROTECTED]; }" $x; }
done
ARRAY(0x8160124)ARRAY(0x8160124)ARRAY(0x8160124)ARRAY(0x81
>I have a series of EZMLM configuration files in the ~alias directory that
look like this:
>main:/var/qmail/alias# cat cire/config
>F:-aBCdEFGHiJKlmnOpQrStuVWXYZ
>X:
>D:/var/qmail/alias/cire
>T:/var/qmail/alias/.qmail-cire
>L:cire
>H:infoforhealthx.org
main:/var/qmail/alias#
>I want to find the
I have a series of EZMLM configuration files in the ~alias directory that look
like this:
main:/var/qmail/alias# cat cire/config
F:-aBCdEFGHiJKlmnOpQrStuVWXYZ
X:
D:/var/qmail/alias/cire
T:/var/qmail/alias/.qmail-cire
L:cire
H:infoforhealthx.org
C:
0:
3:
4:
5:
6:
7:
8:
9:
main:/var/qmail/alias#