mail can't send title on Solaris

JasLi發表於2010-01-19
Use mail in 1 script and notice mail subject is always missing.[@more@]Quote from Berkeley :

mail vs. mailx: Berkeley mail users may note that when they type "mail" on a Solaris system, the Subject: prompt does not show up. On all Solaris systems, you should not use "mail", you should use "mailx". The vendor did it this way to be compatible with other System V-based UNIX systems. On System V, "mail" has a certain set of parameters and a certain operating mode that is not compatible with the Berkeley (SunOS) "mail". Sun has compromised and has "mail" compatible with System V, and gives us "mailx" which is compatible with the old SunOS Berkeley "mail". People who used to use "mail" as a mail reader probably also want to use "mailx".

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/60325/viewspace-1030713/,如需轉載,請註明出處,否則將追究法律責任。

相關文章