unbz64wrap

来自「Linux Kernel 2.6.9 for OMAP1710」· 代码 · 共 26 行

TXT
26
字号
#!/bin/sh# unbz64wrap - the receiving side of a bzip2 | base64 stream# Andreas Dilger <adilger@clusterfs.com>   Jan 2002# Sadly, mimencode does not appear to have good "begin" and "end" markers# like uuencode does, and it is picky about getting the right start/end of# the base64 stream, so we handle this explicitly here.PATH=$PATH:/usr/bin:/usr/local/bin:/usr/freeware/binif mimencode -u < /dev/null > /dev/null 2>&1 ; then	SHOW=	while read LINE; do		case $LINE in		begin-base64*) SHOW=YES ;;		====) SHOW= ;;		*) [ "$SHOW" ] && echo "$LINE" ;;		esac	done | mimencode -u | bunzip2	exit $?else	cat - | uudecode -o /dev/stdout | bunzip2	exit $?fi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?