[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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 22 17:00:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Justin T. Gibbs
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
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


>Description:
	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
	syntax.)

	A more correct example would be:

		ls -l | sort -n -k 5

>How-To-Repeat:
	man ls
>Fix:
	Convert the above corrected example into mdoc, replacing the
	current example.
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-standards_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-standards
To unsubscribe, send any mail to "freebsd-standards-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org