Bash Path expansion
    Wm E. Davidsen Jr 
    davidsen at sixhub.UUCP
       
    Mon Feb 25 04:43:19 AEST 1991
    
    
  
In article <3820 at casbah.acns.nwu.edu> navarra at casbah.acns.nwu.edu (John Navarra) writes:
| 
| 
|      I am wondering if bash allows you to define a Path like:
| 
|   MAILPATH=/home-directory/Mail/*   
try "MAILPATH=`echo $HOME/Mail/* | tr " " ":"`
Prints the names with blank delimiters and changes them to : later.
-- 
bill davidsen - davidsen at sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
    sysop *IX BBS and Public Access UNIX
    moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me
    
    
More information about the Comp.unix.shell
mailing list