uudecode.in

来自「harvest是一个下载html网页得机器人」· IN 代码 · 共 31 行

IN
31
字号
#!@PERL@## This is uudecode.pl from gnu sharutils-4.2.1.# Kang-Jin Lee <lee@arco.de># 20 October 2000# uuencode in Perl.# Copyright (C) 1995 Free Software Foundation, Inc.# Fran鏾is Pinard <pinard@iro.umontreal.ca>, 1995.# `perl uudecode.pl FILES' will decode all uuencoded files found in# all input FILES, stripping headers and other non uuencoded data.while (<>){    if (/^begin [0-7][0-7][0-7] ([^\n ]+)$/)    {	open (OUTPUT, ">$1") || die "Cannot create $1\n";	binmode OUTPUT;	while (<>)	{	    last if /^end$/;	    $block = unpack ("u", $_);	    print OUTPUT $block;	}	close OUTPUT;    }}exit 0;

⌨️ 快捷键说明

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