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

argv ()
cwd /home2/rizzo/src/repositorio/bsdday-2017
dirstack /home2/rizzo/src/repositorio/bsdday-2017
echo_style bsd
euid 1000
euser rizzo
gid 0
group wheel
history 100
home /home2/rizzo
killring 30
owd /home2/rizzo/src/repositorio/Rural
path (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/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        *
freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to