Re: problem with ls, not show a correct list

From: Allan Jude <allanjude_at_freebsd.org>
Date: Fri, 7 Apr 2017 00:33:34 -0400
On 2017-04-06 23:12, Nilton José Rizzo wrote:
>   Hi all 
> 
>   Look this command on a FreeBSD -current 
> 
> % ls -d /usr/ports/[a-z]*
> /usr/ports/accessibility /usr/ports/math
> /usr/ports/arabic /usr/ports/misc
> /usr/ports/archivers /usr/ports/Mk
> /usr/ports/astro /usr/ports/MOVED
> /usr/ports/audio /usr/ports/multimedia
> % echo /usr/ports/[a-z]*
> /usr/ports/accessibility /usr/ports/arabic /usr/ports/archivers
> /usr/ports/astro /usr/ports/audio /usr/ports/base /usr/ports/benchmarks
> /usr/ports/biology /usr/ports/cad /usr/ports/CHANGES /usr/ports/chinese
> /usr/ports/comms /usr/ports/CONT
> alguém sabe o motivo desse erro?
> % ls -d /usr/src/[a-z]*
> /usr/src/bin /usr/src/Makefile.libcompat
> /usr/src/cddl /usr/src/ObsoleteFiles.inc
> /usr/src/contrib /usr/src/README
> /usr/src/COPYRIGHT /usr/src/release 
> 
> What's I do wrong? 
> 
> % set 
> 
> addsuffix 
> anyerror 
> argv ()
> csubstnonl 
> cwd /home2/rizzo/src/repositorio/bsdday-2017
> dirstack /home2/rizzo/src/repositorio/bsdday-2017
> echo_style bsd
> edit 
> euid 1000
> euser rizzo
> gid 0
> group wheel
> history 100
> home /home2/rizzo
> killring 30
> loginsh 
> owd /home2/rizzo/src/repositorio/Rural
> path (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin
> /home2/rizzo/bin)
> prompt %# 
> prompt2 %R? 
> prompt3 CORRECT>%R (y|n|e|a)? 
> shell /bin/csh
> shlvl 1
> status 0
> tcsh 6.18.01
> term screen
> tty pts/4
> uid 1000
> user rizzoversion tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-amd-FreeBSD)
> options wide,nls,dl,al,kan,sm,rh,color,filec
> % uname -a
> FreeBSD valfenda 12.0-CURRENT FreeBSD 12.0-CURRENT #2 r313684: Sun Feb
> 12 20:52:19 BRST 2017 rizzo_at_valfenda:/usr/obj/usr/src/sys/VALFENDA amd64
> % 
> 

Maybe I am missing something. What is the problem with the output?
ls just appears to be doing columns.

-- 
Allan Jude
Received on Fri Apr 07 2017 - 02:33:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC