Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!crdgw1!sixhub!davidsen From: davidsen@sixhub.UUCP (Wm E. Davidsen Jr) Newsgroups: comp.unix.shell Subject: Re: Bash Path expansion Message-ID: <3301@sixhub.UUCP> Date: 24 Feb 91 17:43:19 GMT References: <3820@casbah.acns.nwu.edu> Reply-To: davidsen@sixhub.UUCP (bill davidsen) Distribution: usa Organization: *IX Public Access UNIX, Schenectady NY Lines: 15 In article <3820@casbah.acns.nwu.edu> navarra@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@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 Brought to you by Super Global Mega Corp .com