Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2002 21:01:41 -0700 (PDT)
From:      David Muir Sharnoff <muir@idiom.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/43995: ls -B isn't complete
Message-ID:  <200210130401.g9D41fHe007398@idiom.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210130401.g9D41fHe007398>