HP3000-L Archives

September 1996, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Thu, 12 Sep 1996 13:29:45 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
Gary asks:
 
> However, I have just discovered that passing wild cards doesn't seem to
> work.  For example, let's say I've got a file called "fred.091196". The
...
> But the following command returns a "file not found" message:
>
>   LS.HPBIN.SYS "fred.*"
>
> Is there a "trick" to getting this to work?  Or will it simply not work
 
Yep...run it in the shell :)
 
The *shell* expands the wildcards, not the various tools.   :(
 
Another limitation of Unix, I'm afraid.  This has led to all sorts of
problems, including:
 
   - scripts that fail because the expansion fails (e.g., too many files
     for a command line)
 
   - inability to write commands that take arbitrary text as input
     (e.g.,  try:  echo *
 
   - inability to simply run a Unix utility (like ls) and give it a
     command line including a wildcard (as you've tried!)
 
--
Stan Sieler                                          [log in to unmask]
                                     http://www.allegro.com/sieler.html

ATOM RSS1 RSS2