#!/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., bat.uu # (uudecode ignores these header lines and starts at begin line below) # Then say csh bat.uu # or explicitly execute the commands (generally more secure): # uudecode bat.uu ; gunzip bat.tar.gz ; # tar -xvf bat.tar # On some non-unix (e.g. VAX/VMS), first use editor to change filename # in "begin" line below to bat.tar-gz , then execute # uudecode bat.uu # gzip -d bat.tar-gz # tar -xvf bat.tar # uudecode $0 chmod 644 bat.tar.gz gunzip -c bat.tar.gz | tar -xvf - rm $0 bat.tar.gz exit