From owner-freebsd-bugs Sat Oct 12 21:10: 3 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A344237B401 for ; Sat, 12 Oct 2002 21:10:01 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9EC043E7B for ; Sat, 12 Oct 2002 21:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9D4A0Co039080 for ; Sat, 12 Oct 2002 21:10:00 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9D4A0CJ039079; Sat, 12 Oct 2002 21:10:00 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF0A837B401 for ; Sat, 12 Oct 2002 21:01:41 -0700 (PDT) Received: from idiom.com (idiom.com [216.240.32.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CE8843ED1 for ; Sat, 12 Oct 2002 21:01:41 -0700 (PDT) (envelope-from muir@idiom.com) Received: from idiom.com (localhost [127.0.0.1]) by idiom.com (8.12.5/8.12.6) with ESMTP id g9D41fEH007399 for ; Sat, 12 Oct 2002 21:01:41 -0700 (PDT) (envelope-from muir@idiom.com) Received: (from muir@localhost) by idiom.com (8.12.5/8.12.6/Submit) id g9D41fHe007398; Sat, 12 Oct 2002 21:01:41 -0700 (PDT) (envelope-from muir) Message-Id: <200210130401.g9D41fHe007398@idiom.com> Date: Sat, 12 Oct 2002 21:01:41 -0700 (PDT) From: David Muir Sharnoff Reply-To: David Muir Sharnoff To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/43995: ls -B isn't complete Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43995 >Category: bin >Synopsis: ls -B isn't complete >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 12 21:10:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: David Muir Sharnoff >Release: FreeBSD 4.7-RELEASE i386 >Organization: Idiom >Environment: System: FreeBSD idiom.com 4.7-RELEASE FreeBSD 4.7-RELEASE #8: Thu Oct 10 22:07:09 PDT 2002 muir@staid.idiom.com:/build/obj/build/src/sys/IDIOM i386 >Description: The ls(1) man page describes the -B option: -B Force printing of non-printable characters (as defined by ctype(3) and current locale settings) in file names as \xxx, where xxx is the numeric value of the character in octal. When you do a recursive listing (ls -R) ls will print out the directory name followed by a colon. Eg: /usr/bin: total 28322 etc. If there are non-printable characters in the directory name, they are printed rather than escaped. >How-To-Repeat: % mkdir /tmp/foo % cd /tmp/foo % mkdir ' ibebad:\ ha ha' % ls -BoTnilR >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message