From owner-freebsd-stable Mon Nov 27 11:11:44 2000 Delivered-To: freebsd-stable@freebsd.org Received: from wooster.jumpdata.com (flimsy.lean.to [166.90.128.243]) by hub.freebsd.org (Postfix) with ESMTP id EBFDF37B479 for ; Mon, 27 Nov 2000 11:11:34 -0800 (PST) Received: (from anand@localhost) by wooster.jumpdata.com (8.11.1/8.11.1) id eARJBax31626 for stable@freebsd.org; Mon, 27 Nov 2000 11:11:36 -0800 (PST) (envelope-from anand) Date: Mon, 27 Nov 2000 11:11:36 -0800 From: Anand Ranganathan To: stable@freebsd.org Subject: tcsh bug? Message-ID: <20001127111136.A30905@desktop.com> Reply-To: anand@desktop.com Mail-Followup-To: Anand Ranganathan , stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm seeing weird behavior in my tcsh shell with the ls-F builtin. I'm cutting and pasting a shell session that I just ran in my xterm: 161 wooster:/tmp> mkdir foo 162 wooster:/tmp> cd foo 163 wooster:/tmp/foo> ls 164 wooster:/tmp/foo> touch bar 165 wooster:/tmp/foo> mkdir baz 166 wooster:/tmp/foo> ls bar baz 167 wooster:/tmp/foo> ls -l total 1 -rw-r--r-- 1 anand wheel 0 Nov 27 11:07 bar drwxr-xr-x 2 anand wheel 512 Nov 27 11:07 baz 168 wooster:/tmp/foo> ls-F bar baz/ 169 wooster:/tmp/foo> ls-F -l total 1 -rw-r--r-- 1 anand wheel 0 Nov 27 11:07 bar drwxr-xr-x 2 anand wheel 512 Nov 27 11:07 baz/ 170 wooster:/tmp/foo> set color 171 wooster:/tmp/foo> ls-F bar baz/ 172 wooster:/tmp/foo> ls-F -l ls: -l: No such file or directory 173 wooster:/tmp/foo> ls-F -a ls: -a: No such file or directory 174 wooster:/tmp/foo> Basically, when I "set color" the ls-F builtin seems to consider the options to ls as the file arguments to ls. This is weird, since ls-F seems to work correctly when color is not set. Am I doing something wrong? Or is this a bug (in which case I'd be only too happy to file a pr for it). Thanks Anand To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message