From: tgcpwd@rwa.urc.tue.nl (Wim van Dorst/Prof. Penninger) Subject: Conversion /etc/passwd --> /usrc/lib/aliases ? Date: 10 Aug 1993 09:20:57 +0200
Hello *,
I know there is a nifty little program (shell/perl script?) that turns the
Personal Name information in the /etc/passwd file into /usr/lib/aliases
entries for mail programs. This will greatly enhance mail addressing
for the particular machine.
E.g. the line from /etc/passwd
duck:2QaBd4:321:20:Harold Wilberforce Clifton:/home/duck:/bin/sh
would become the entries in /usr/lib/aliases for
clifton: duck
harold: duck
harold.clifton: duck
harold.wilberforce.clifton: duck
h.clifton: duck
h.w.clifton: duck
harold.w.clifton: duck
etc.
Thus instead of only being able to do 'duck@what.ever', one can
address this same person with the more comprehensible, and thus more
memorizable, 'harold.w.clifton@what.ever'.
Where can I find the program that does this? I thought it might be in
the Elm 2.4.22 distribution, in Smail 3.1.28, or in Perl 4.036, but it
seems it is not. Then where _is_ it? Or could a person, knowledgeable
in the field of probably Perl, do up such a script for me, please?
Met vriendelijke groeten, Wim van Dorst
-- ===================================================================== Blue Baron = Wim van Dorst, Voice (+31) 074-443937, (+31) 02152-42319 (-: baron@clifton.hobby.nl tgcpwd@urc.tue.nl WvD@Akzo.400net.nl :-) =====================================================================