Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have $dom which contains a domain name (i.e aaaa.com), the script needs to search for the line in the file above (called /etc/postfix/virtual) move down to the line below it and print $user\@$dom\t$user.aaaa.com VIRTUALDOMAIN bbbb.com VIRTUALDOMAIN cccc.com VIRTUALDOMAIN dddd.net VIRTUALDOMAIN
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Basic Seek
by kschwab (Vicar) on Sep 08, 2002 at 16:11 UTC | |
by lostperls (Initiate) on Sep 08, 2002 at 16:45 UTC | |
by Arien (Pilgrim) on Sep 09, 2002 at 04:45 UTC | |
by Anonymous Monk on Sep 08, 2002 at 16:19 UTC | |
by Anonymous Monk on Sep 08, 2002 at 16:27 UTC | |
|
Re: Basic Seek
by Aristotle (Chancellor) on Sep 08, 2002 at 17:40 UTC | |
|
Re: Basic Seek
by rir (Vicar) on Sep 08, 2002 at 18:49 UTC |