www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/08/05:25:24

Date: Thu, 8 Apr 1999 11:23:14 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Stromberg <eplmst AT lu DOT erisoft DOT se>
cc: DJGPP-WORKERS <djgpp-workers AT delorie DOT com>
Subject: Re: regex question
In-Reply-To: <199904061452.QAA07663@juno.erisoft.se>
Message-ID: <Pine.SUN.3.91.990408111918.29868L-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 6 Apr 1999, Martin Stromberg wrote:

> It seems tcsh on Solaris just append the trailing "/":
> ; ls
> b  c/ 
> ; echo *
> b c
> ; echo */
> b/ c/
> 
> where b is a file and c is a directory.

Yup, I see this with tcsh as well.  csh on Solaris works like Bash 
does, while /bin/sh on that same machine says this:

  $ ls -d */
  ls: */: No such file or directory

So this seems to be at least somewhat shell-dependent.  Should we change 
the globbing to work like Bash, then?  What do others think?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019