#!/bin/csh -f # uuencoded gz-compressed .tar file created by csh script uufiles # for more info (11/95), see e.g. http://xxx.lanl.gov/faq/uufaq.html # if you are on a unix machine this file will unpack itself: strip # any mail header and call resulting file, e.g., rmp.uu # (uudecode ignores these header lines and starts at begin line below) # then say csh rmp.uu # or explicitly execute the commands (generally more secure): # uudecode rmp.uu ; gunzip rmp.tar.gz ; # tar -xvf rmp.tar # on some non-unix (e.g. VAX/VMS), first use editor to change filename # in "begin" line below to rmp.tar-gz , then execute # uudecode rmp.uu # gzip -d rmp.tar-gz # tar -xvf rmp.tar # uudecode $0 chmod 644 rmp.tar.gz gunzip -c rmp.tar.gz | tar -xvf - rm $0 rmp.tar.gz exit