Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2017 01:45:13 -0300
From:      =?UTF-8?Q?Nilton_Jos=C3=A9_Rizzo?= <rizzo@i805.com.br>
To:        Allan Jude <allanjude@freebsd.org>
Cc:        freebsd-current@freebsd.org, owner-freebsd-current@freebsd.org
Subject:   Re: problem with ls, not show a correct list
Message-ID:  <c0b1548a69d63a72ea73a299e55a0be9@i805.com.br>
In-Reply-To: <25969d2c-6857-77a4-86a4-08b22f15cbfe@freebsd.org>
References:  <fe2da09242ff63acb0c62dd0519cfa1f@i805.com.br> <25969d2c-6857-77a4-86a4-08b22f15cbfe@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 2017-04-07 01:33, Allan Jude escreveu:
> 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@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.

   Hi Allan, the ls show all files without case match

ls [a-z]*

  show all files beginning with a and A  like this [aA-zZ]*



-- 
********************************************************
* Nilton José Rizzo     Sistema de Informação    UFRRJ *
* http://cursos.ufrrj.br/grad/sistemas/                *
* lattes:http://lattes.cnpq.br/0079460703536198        *
********************************************************



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