Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site wgivax.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!mcnc!unccvax!wgivax!ram From: ram@wgivax.UUCP (Rick Messinger #4975) Newsgroups: net.unix Subject: Can anyone explain? Message-ID: <118@wgivax.UUCP> Date: Thu, 25-Jul-85 22:19:34 EDT Article-I.D.: wgivax.118 Posted: Thu Jul 25 22:19:34 1985 Date-Received: Wed, 31-Jul-85 04:55:52 EDT Lines: 17 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)