On 04/20/1999 13:06 -0400, David Shaw wrote:
>>      It is safe to do:
>>              mutt-alias-dedupe < your-alias-file > your-alias-file
>>      
>>      as the new file is not written until the old one is completely read.    

Actually, this is shell-dependent. The version of ksh that I'm using, I know,
will try to create/truncate the output file before the script is even
exec()'d. Be very careful of trying this. I guess since the shell in this
case is perl, you might be ok, but in the more general sense, constructs
like this are very dangerous.

                                tw

-- 
+--------------------------------------+------------------------------------+
| Tim Walberg                          | Phone:  (847) 632-3407             |
| Motorola CE/ITS                      | Pager:  (800) SKY-TEL2 PIN:1384689 |
| 1475 W Shure Dr. IL75-2H14           | FAX:    (847) 632-5769             |
| Arlington Heights, IL 60004          |                                    |
+--------------------------------------+------------------------------------+
| http://www.cig.mot.com/~walberg      | E-mail: [EMAIL PROTECTED],       |
| http://www.skytel.com/Paging (pager) |         [EMAIL PROTECTED] (pager) |
+--------------------------------------+------------------------------------+

PGP signature

Reply via email to