Can anyone explain?
Rick Messinger #4975
ram at wgivax.UUCP
Fri Jul 26 12:19:34 AEST 1985
In this sh scipt is a sequence of two events.
> : Copy a file to a directory then chdir to the given dir
> case $# in
> 2) cp $1 $2/$1 ; cd $2 ;;
> *) echo 'Usage: ccarry file dir/path' ;;
> esac
Due to the design of the shell, it does not work (not in actuality anyway).
Does anyone out there know of a way this can be done. I got word it could
be done in C? I'll be interested to find out.
Thanks for any info.
(ram)
More information about the Comp.unix
mailing list