[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

standards/83919: ls man page "sort by size" example out not POSIX compliant

>Number:         83919
>Category:       standards
>Synopsis:       ls man page "sort by size" example out not POSIX compliant
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-standards
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 22 17:00:28 GMT 2005
>Originator:     Justin T. Gibbs
>Release:        FreeBSD 5.4-STABLE i386
System: FreeBSD aslan.scsiguy.com 5.4-STABLE FreeBSD 5.4-STABLE #7: Sat May 21 21:03:20 MDT 2005 gibbs_(_at_)_aslan_(_dot_)_scsiguy_(_dot_)_com:/usr/src/sys/i386/compile/ASLAN i386

	The ls man page contains the following example:

		ls -l | sort -n +4

	The +POS [-POS] origin-zero syntax to specify sort keys is not
	allowed per POSIX 1003.1-2001.  The sort man page doesn't even
	mention this syntax any longer. (Our sort does still honor the

	A more correct example would be:

		ls -l | sort -n -k 5

	man ls
	Convert the above corrected example into mdoc, replacing the
	current example.
freebsd-standards_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-standards-unsubscribe_(_at_)_freebsd_(_dot_)_org"