After 5 hrs of experiments and man pages etc I hope someone can tell me
how to solve this seemingly simple problem:
If I have the following line in my ".bashrc" file:
alias hcum="hcopy /home/brands/$1 'C:Doc:unix_to_mac:$2'"
and I then enter at the bash prompt:
hcum firstfilename secondfilename
is this not equivalent to entering at the bash prompt:
hcopy /home/brands/firstfilename 'C:Doc:unix_to_mac:secondfilename'
This last line when entered at the bash prompt does what I want to do.
The alias does not work, even though analagous aliases with other
functions like "cp" work. My MkLinux tells me:
hcopy: hcopy "firstfilename" not a directory
Well it isn't a directory and bash is perfectly happy to not insist it's a
directory wgeb U type the full command at the bash prompt. FYI, in
MkLinux "hcopy" copies files from the Linux filesystem to Mac filesystem.
Many thanks,
Ralph Brands
University of British Columbia