Bash question

Bruce Marshall bmarsh
Mon May 17 11:59:38 PDT 2004


On Friday 20 February 2004 09:48 pm, Joel Hammer wrote:
> Yes. Everything seems to get expanded.
>
> "*.jpg"
> '*jpg'
> \'*jpg\'
> \"*jpg\"
>
> I tried \\'*jpg\\', too.
>
> Just what are you trying to accomplish?
>

I used to have a command under OS/2 called 'whereis'  and you could type in 
'whereis  *.jpg'    (for example).   I know there is also a whereis command 
in linux so I would have to name it something different.

I was trying to avoid the use of even quotation marks but it appears that 
nothing will really work.  Seems odd that there isn't a method to get the raw 
command line into the script, even if it has to contain the command name.

Oh well, will write it in rexx or perl I guess.

Thanks.



-- 
+----------------------------------------------------------------------------+
+ Bruce S. Marshall  bmarsh at bmarsh.com  Bellaire, MI         02/21/04 09:43  +
+----------------------------------------------------------------------------+
"Morfy's law - Enythink thit ken go rong willl."



More information about the Linux-users mailing list