On Tue, Apr 20, 1999 at 01:06:20PM -0400, David Shaw wrote:
> It is safe to do:
> mutt-alias-dedupe < your-alias-file > your-alias-file
If you already use perl, why don't you use perl's faboulus 'in-place
editing mode'?
| -i[extension]
| specifies that files processed by the <> construct
| are to be edited in-place. It does this by renaming
| the input file, opening the output file by the
| original name, and selecting that output file as the
| default for print() statements. The extension, if
| supplied, is added to the name of the old file to
| make a backup copy. If no extension is supplied, no
| backup is made.
So just modify '#!/usr/bin/perl' to '#!/usr/bin/perl -i' and call it as
mutt-alias-dedupe your-alias-file
CU &HTH,
Sec
--
We have always been quite clear that Win95 and Win98 are not the systems
to use if you are in a hostile security environment. We recommend Windows NT
for those environments. -- Paul Leach <[EMAIL PROTECTED]>