Bash Path expansion
John Navarra
navarra at casbah.acns.nwu.edu
Fri Feb 22 09:03:15 AEST 1991
I am wondering if bash allows you to define a Path like:
MAILPATH=/home-directory/Mail/*
so that MAILPATH will contain every file in the dir Mail?
I tried the above statement and it did not work. I also tried making a
variable called allfiles=/home-dir/Mail/*
but that is not quite working either -- when you set MAILPATH=$allfiles
you do not get the : delimiters btw the filenames.
Any suggestions?
-----------------------
>From the Lab of the MaD ScIenTisT
navarra at casbah.acns.nwu.edu
More information about the Comp.unix.shell
mailing list