3 # unbz64wrap - the receiving side of a bzip2 | base64 stream
4 # Andreas Dilger <adilger@clusterfs.com> Jan 2002
6 # Sadly, mimencode does not appear to have good "begin" and "end" markers
7 # like uuencode does, and it is picky about getting the right start/end of
8 # the base64 stream, so we handle this explicitly here.
10 PATH
=$PATH:/usr
/bin
:/usr
/local
/bin
:/usr
/freeware
/bin
12 if mimencode
-u < /dev
/null
> /dev
/null
2>&1 ; then
16 begin-base64
*) SHOW
=YES
;;
18 *) [ "$SHOW" ] && echo "$LINE" ;;
20 done | mimencode
-u | bunzip2
23 cat - |
uudecode -o /dev
/stdout | bunzip2
This page took 0.038159 seconds and 5 git commands to generate.