Bug 18286 - mailx, which is part of Unix 98, does not exist
Summary: mailx, which is part of Unix 98, does not exist
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 3.4-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mike Heffner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-04-29 01:20 UTC by pfeifer
Modified: 2002-03-16 01:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pfeifer 2000-04-29 01:20:01 UTC
mailx, which is part of Unix 98 (http://www.UNIX-systems.org/), does
not exist in FreeBSD 3.x, nor 4.x or 5.x, as far as I could see.

This is bad, as this renders writing portable scripts extremely hard.
Solaris, AIX, and DEC OSF do have this program, for example.

Fix: 

There is a mailx entry in the ports tree that might be moved into the
base system, but I'm not sure whether that indeed is compliant with
the standard.
How-To-Repeat: `which mailx` on any vanilla FreeBSD installation.
Comment 1 hoek freebsd_committer freebsd_triage 2000-05-09 03:53:05 UTC
State Changed
From-To: open->closed

PRs that fall into the "wish" class need to include patches.  Moving 
something from the ports into the base system is not so simple as 
"cvs import".  Sources need to be reviewed with a closer eye towards 
security and a bmake skeleton needs to be written. 

Comment 2 pfeifer 2002-02-16 11:50:39 UTC
Mike, could you please consider MFCing the following (and possible
related changes) to usr.bin/mail?

  Makefile revision 1.8
  date: 2002/01/19 23:47:21;  author: mikeh;  state: Exp;  lines: +2 -2
  Link mail(1) to mailx per POSIX. Mail(1) isn't 100% POSIX compliant,
  but it is pretty close.

  Not objected to by: -standards

I believe this would fix
  http://www.FreeBSD.org/cgi/query-pr.cgi?pr=misc/18286
which was incorrectly closed, IMO.

Thanks,
Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
Comment 3 Mike Heffner freebsd_committer freebsd_triage 2002-02-17 20:36:45 UTC
State Changed
From-To: closed->analyzed

This will be fixed by MFCing -current changes. 


Comment 4 Mike Heffner freebsd_committer freebsd_triage 2002-02-17 20:36:45 UTC
Responsible Changed
From-To: freebsd-bugs->mikeh

My MFC reminder.
Comment 5 Mike Heffner freebsd_committer freebsd_triage 2002-03-16 01:40:27 UTC
State Changed
From-To: analyzed->closed

Fix MFC'd.