The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



Thread: mailx
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-14-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,094
Why are you using more to read the list? Could it be adding something which is interpreted by mailx as an instruction to write to the list file (if I interpreted your problem description at all correctly)? Just use cat instead, and/or protect the file so that it cannot be written to by the user running the script.
Reply With Quote