 "Time is money and money can't buy you love and I love your outfit"
 T.H.U.N.D.E.R. #1
# This is a Cshell archive.  Remove anything before this line,
# then unpack it by saving it into a file and typing "csh file".
# If you do not have csh, try "sh file" or hand unpacking.
# Wrapped by ggww@sjfc on Thu Nov 29 14:28:39 EST 2012
echo x - cook2
cat > cook2 << 'FunkyStuff'
 Put your trust in God but keep your powder dry.
 Oliver Cromwell
'FunkyStuff'
echo x - cook3
cat > cook3 << 'FunkyStuff'
 "I believe that Ronald Reagan will someday make this
 country what it once was... an arctic wilderness."
 Steve Martin
'FunkyStuff'
echo x - foo
cat > foo << 'FunkyStuff'
a - cook2
a - cook3
a - foo
'FunkyStuff'
echo x - fortune1
cat > fortune1 << 'FunkyStuff'
 If you go in for argument, take care of your temper. Your logic, if
 you have any, will take care of itself. Joseph Farrell
'FunkyStuff'
echo x - fortune2
cat > fortune2 << 'FunkyStuff'
 Good morning. This is the telephone company. Due to repairs, we're
 giving you advance notice that your service will be cut off indefinitely
 at ten o'clock. That's two minutes from now.
'FunkyStuff'
echo x - fortune3
cat > fortune3 << 'FunkyStuff'
 Nothing ever becomes real until it is experienced.
 John Keats
'FunkyStuff'
echo mkdir joe
mkdir joe
echo x - makeshar
cat > makeshar << 'FunkyStuff'
#! /bin/csh -f
#
# shar - create shell archive of text files
# Usage: makeshar sharfile file1 file2 ...
#
if( $#argv < 2 ) then
	echo "Usage: makeshar sharfile file1 file2 ..." > /dev/tty
	exit 1
endif
set AR=$1		# 
shift			# Rest of arguments are files
if( $#argv < 1 ) then
	echo "Usage: makeshar sharfile file1 file2 ..." > /dev/tty
	exit 1
endif
echo '#\!/bin/csh -f' > $AR
echo '#This is a csh archive. Unwrap it by typing csh file' >> $AR
foreach i ( $argv)
	file $i | grep text > /dev/null
	if ( $status != 0 ) continue
	echo a - $i
	echo "echo x - $i" >> $AR
	echo "cat > $i << FunkyStuff" >> $AR
	cat $i >> $AR
	echo FunkyStuff >> $AR
end
exit 0
'FunkyStuff'
echo mkdir oldstuff
mkdir oldstuff
echo x - oldstuff/archive-cookies
cat > oldstuff/archive-cookies << 'FunkyStuff'
#!/bin/sh
#This is a sh archive. Unwrap it by typing csh file
echo cook1
cat > cook1 << 'End-of-cook1'
 "Time is money and money can't buy you love and I love your outfit"
 T.H.U.N.D.E.R. #1
End-of-cook1
echo cook2
cat > cook2 << 'End-of-cook2'
 Put your trust in God but keep your powder dry.
 Oliver Cromwell
End-of-cook2
echo cook3
cat > cook3 << 'End-of-cook3'
 "I believe that Ronald Reagan will someday make this
 country what it once was... an arctic wilderness."
 Steve Martin
End-of-cook3
'FunkyStuff'
echo x - shar
cat > shar << 'FunkyStuff'
#! /bin/sh
#
#
echo '#!/bin/sh'
echo '#This is a sh archive. Unwrap it by typing csh file'
for i in $*
do
	echo "echo $i"
	echo "cat > $i << 'End-of-$i'"
	cat $i
	echo "End-of-$i"
	echo "chmod 555 $i"
done
echo 'rm -i $0'
'FunkyStuff'
echo x - simpleshar
cat > simpleshar << 'FunkyStuff'
#! /bin/csh -f
#
#
echo '#\!/bin/csh -f'
echo '#This is a csh archive. Unwrap it by typing csh file'
foreach i ( $argv)
	echo "echo $i"
	echo "cat > $i << End-of-$i"
	cat $i
	echo "End-of-$i"
end
'FunkyStuff'
