From owner-freebsd-standards@FreeBSD.ORG Fri Jul 22 17:55:18 2005 Return-Path: X-Original-To: freebsd-standards@hub.freebsd.org Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB7C216A447 for ; Fri, 22 Jul 2005 17:55:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EF94446C6 for ; Fri, 22 Jul 2005 17:00:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6MH0TvT078681 for ; Fri, 22 Jul 2005 17:00:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6MH0Ts3078680; Fri, 22 Jul 2005 17:00:29 GMT (envelope-from gnats) Resent-Date: Fri, 22 Jul 2005 17:00:29 GMT Resent-Message-Id: <200507221700.j6MH0Ts3078680@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-standards@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Justin T. Gibbs" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B29616A41F for ; Fri, 22 Jul 2005 16:53:33 +0000 (GMT) (envelope-from gibbs@aslan.scsiguy.com) Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2AE943FDD for ; Fri, 22 Jul 2005 16:25:39 +0000 (GMT) (envelope-from gibbs@aslan.scsiguy.com) Received: from aslan.scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.13.3/8.13.3) with ESMTP id j6MGPcWY064479 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 22 Jul 2005 10:25:38 -0600 (MDT) (envelope-from gibbs@aslan.scsiguy.com) Received: (from gibbs@localhost) by aslan.scsiguy.com (8.13.3/8.13.3/Submit) id j6MGPchr064478; Fri, 22 Jul 2005 10:25:38 -0600 (MDT) (envelope-from gibbs) Message-Id: <200507221625.j6MGPchr064478@aslan.scsiguy.com> Date: Fri, 22 Jul 2005 10:25:38 -0600 (MDT) From: "Justin T. Gibbs" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: standards/83919: ls man page "sort by size" example out not POSIX compliant X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Justin T. Gibbs" List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 17:55:18 -0000 >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@aslan.scsiguy.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: