From owner-freebsd-current@freebsd.org Fri Apr 7 04:45:21 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7388FD32171; Fri, 7 Apr 2017 04:45:21 +0000 (UTC) (envelope-from rizzo@i805.com.br) Received: from server.i805.com.br (mailhost.i805.com.br [50.7.9.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fbsd10.amd64", Issuer "fbsd10.amd64" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3E2AFF8F; Fri, 7 Apr 2017 04:45:20 +0000 (UTC) (envelope-from rizzo@i805.com.br) Received: from server.i805.com.br (localhost [127.0.0.1]) by server.i805.com.br (8.15.2/8.15.2) with ESMTPS id v374jEoh014127 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 7 Apr 2017 01:45:15 -0300 (BRT) (envelope-from rizzo@i805.com.br) Received: (from www@localhost) by server.i805.com.br (8.15.2/8.15.2/Submit) id v374jDsZ014126; Fri, 7 Apr 2017 01:45:13 -0300 (BRT) (envelope-from rizzo@i805.com.br) X-Authentication-Warning: server.i805.com.br: www set sender to rizzo@i805.com.br using -f To: Allan Jude Subject: Re: problem with ls, not show a correct list X-PHP-Script: www.i805.com.br/roundcube/index.php for 186.221.219.53 X-PHP-Originating-Script: 80:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 07 Apr 2017 01:45:13 -0300 From: =?UTF-8?Q?Nilton_Jos=C3=A9_Rizzo?= Cc: freebsd-current@freebsd.org, owner-freebsd-current@freebsd.org In-Reply-To: <25969d2c-6857-77a4-86a4-08b22f15cbfe@freebsd.org> References: <25969d2c-6857-77a4-86a4-08b22f15cbfe@freebsd.org> Message-ID: X-Sender: rizzo@i805.com.br User-Agent: Roundcube Webmail/1.2.3 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on server.i805.com.br X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2017 04:45:21 -0000 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 * ********************************************************