uudecode

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Decode a file the same way as the standard UNIX function uudecode does, except that output is written to stdout.

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

begin 644 uudecode.cat
M=75E;F-O9&4H,2D@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@
M("`@("`@("`@("`@("`@("`@("`@('5U96YC;V1E*#$I"@H*"DY!344*("`@
M("`@('5U96YC;V1E+"!U=61E8V]D92`M(&5N8V]D92!A(&)I;F%R>2!F:6QE
M+"!O<B!D96-O9&4@:71S(')E<')E<V5N=&%T:6]N"@I364Y/4%-)4PH@("`@
M("`@=75E;F-O9&4@6RUM72!;(&9I;&4@72!N86UE"@H@("`@("`@=75D96-O
M9&4@6RUO(&]U=&9I;&5=(%L@9FEL92!=+BXN"@I$15-#4DE05$E/3@H@("`@
M("`@575E;F-O9&4@86YD('5U9&5C;V1E(&%R92!U<V5D('1O('1R86YS;6ET
M(&)I;F%R>2!F:6QE<R!O=F5R("!T<F%N<VUI<RT*("`@("`@('-I;VX@;65D
M:75M<R!T:&%T(&1O(&YO="!S=7!P;W)T(&]T:&5R('1H86X@<VEM<&QE($%3
M0TE)(&1A=&$N"@H@("`@("`@575E;F-O9&4@(')E861S("!F:6QE("`H;W(@
M8GD@9&5F875L="!T:&4@<W1A;F1A<F0@:6YP=70I(&%N9"!W<FET97,@86X*
M("`@("`@(&5N8V]D960@=F5R<VEO;B!T;R!T:&4@<W1A;F1A<F0@;W5T<'5T
M+B`@5&AE(&5N8V]D:6YG('5S97,@;VYL>2`@<')I;G0M"B`@("`@("!I;F<@
M($%30TE)(&-H87)A8W1E<G,@86YD(&EN8VQU9&5S('1H92!M;V1E(&]F('1H
M92!F:6QE(&%N9"!T:&4@;W!E<F%N9`H@("`@("`@;F%M92!F;W(@=7-E(&)Y
M('5U9&5C;V1E+B`@268@;F%M92!I<R`O9&5V+W-T9&]U="!T:&4@(')E<W5L
M="`@=VEL;"`@8F4*("`@("`@('=R:71T96X@=&\@<W1A;F1A<F0@;W5T<'5T
M+B`@0GD@9&5F875L="!T:&4@<W1A;F1A<F0@554@96YC;V1I;F<@9F]R;6%T
M"B`@("`@("!W:6QL(&)E('5S960N("!)9B!T:&4@;W!T:6]N("UM(&ES(&=I
M=F5N(&]N("!T:&4@(&-O;6UA;F0@(&QI;F4@(&)A<V4V-`H@("`@("`@96YC
M;V1I;F<@:7,@=7-E9"!I;G-T96%D+@H*("`@("`@($YO=&4Z("!U=65N8V]D
M92`@=7-E<R`@8G5F9F5R960@(&EN<'5T("!A;F0@87-S=6UE<R!T:&%T(&ET
M(&ES(&YO="!H86YD"B`@("`@("!T>7!E9"!F<F]M(&$@='1Y+B`@5&AE(&-O
M;G-E<75E;F-E(&ES('1H870@870@82!T='DL('EO=2`@;6%Y("!N965D("!T
M;PH@("`@("`@:&ET($-T;"U$('-E=F5R86P@=&EM97,@=&\@=&5R;6EN871E
M(&EN<'5T+@H*("`@("`@(%5U9&5C;V1E('1R86YS9F]R;7,@=75E;F-O9&5D
M(&9I;&5S("AO<B!B>2!D969A=6QT+"!T:&4@<W1A;F1A<F0@:6YP=70I"B`@
M("`@("!I;G1O('1H92!O<FEG:6YA;"!F;W)M+B`@5&AE(')E<W5L=&EN9R!F
M:6QE(&ES(&YA;65D(&YA;64@("AO<B`@;W5T9FEL90H@("`@("`@:68@('1H
M92`M;R!O<'1I;VX@:7,@9VEV96XI(&%N9"!W:6QL(&AA=F4@=&AE(&UO9&4@
M;V8@=&AE(&]R:6=I;F%L(&9I;&4*("`@("`@(&5X8V5P="!T:&%T('-E='5I
M9"!A;F0@97AE8W5T92!B:71S(&%R92!N;W0@<F5T86EN960N("`@268@(&]U
M=&9I;&4@(&]R"B`@("`@("!N86UE("!I<R`@+V1E=B]S=&1O=70@('1H92`@
M<F5S=6QT("!W:6QL(&)E('=R:71T96X@=&\@<W1A;F1A<F0@;W5T<'5T+@H@
M("`@("`@575D96-O9&4@:6=N;W)E<R!A;GD@;&5A9&EN9R!A;F0@=')A:6QI
M;F<@;&EN97,N("!4:&4@<')O9W)A;2!C86X@875T;RT*("`@("`@(&UA=&EC
M86QL>2`@9&5C:61E('=H:6-H(&]F('1H92!T=V\@<W5P<&]R=&5D(&5N8V]D
M:6YG('-C:&5M97,@87)E('5S960N"@I%6$%-4$Q%4PH@("`@("`@5&AE(&9O
M;&QO=VEN9R!E>&%M<&QE('!A8VMA9V5S('5P(&$@<V]U<F-E('1R964L(&-O
M;7!R97-S97,@(&ET+"`@=75E;BT*("`@("`@(&-O9&5S("!I="`@86YD("!M
M86EL<R!I="!T;R!A('5S97(@;VX@86YO=&AE<B!S>7-T96TN("!7:&5N('5U
M9&5C;V1E(&ES"B`@("`@("!R=6X@;VX@=&AE('1A<F=E="!S>7-T96TL('1H
M92!F:6QE(&!@<W)C7W1R964N=&%R+EHG)R!W:6QL("!B92`@8W)E871E9`H@
M("`@("`@=VAI8V@@;6%Y('1H96X@8F4@=6YC;VUP<F5S<V5D(&%N9"!E>'1R
M86-T960@:6YT;R!T:&4@;W)I9VEN86P@=')E92X*"@H@("`@("`@("`@("`@
M('1A<B`@8V8@("T@('-R8U]T<F5E('P@8V]M<')E<W,@?"!U=65N8V]D92!S
M<F-?=')E92YT87(N6B!\(&UA:6P*("`@("`@("`@("`@("!S>7,Q(7-Y<S(A
M=7-E<@H*"E-%12!!3%-/"B`@("`@("!C;VUP<F5S<R@Q*2P@;6%I;"@Q*2P@
M=75C<"@Q*2P@=75E;F-O9&4H-2D*"E-404Y$05)$4PH@("`@("`@5&AI<R!I
M;7!L96UE;G1A=&EO;B!I<R!C;VUP;&EA;G0@=VET:"!0,3`P,RXR8B]$,3$N
M"@I"54=3"B`@("`@("!)9B!M;W)E('1H86X@;VYE(&9I;&4@:7,@9VEV96X@
M=&\@=75D96-O9&4@86YD('1H92`M;R!O<'1I;VX@(&ES("!G:79E;@H@("`@
M("`@;W(@(&UO<F4@('1H86X@;VYE(&YA;64@:6X@=&AE(&5N8V]D960@9FEL
M97,@87)E('1H92!S86UE('1H92!R97-U;'0@:7,*("`@("`@('!R;V)A8FQY
M(&YO="!W:&%T(&ES(&5X<&5C=&5D+@H*("`@("`@(%1H92!E;F-O9&5D(&9O
M<FT@;V8@=&AE(&9I;&4@:7,@97AP86YD960@8GD@,S<E(&9O<B!552!E;F-O
M9&EN9R!A;F0@(&)Y"B`@("`@("`S-24@9F]R(&)A<V4V-"!E;F-O9&EN9R`H
M,R!B>71E<R!B96-O;64@-"!P;'5S(&-O;G1R;VP@:6YF;W)M871I;VXI+@H*
M4D503U)424Y'($)51U,*("`@("`@(%)E<&]R="`@8G5G<R!T;R`\8G5G+6=N
M=2UU=&EL<T!G;G4N;W)G/BX@(%!L96%S92!P=70@<VAA<G5T:6QS(&]R('5U
M96XM"B`@("`@("!C;V1E(&EN('1H92!S=6)J96-T(&QI;F4N("!)="!H96QP
M<R!T;R!S<&]T('1H92!M97-S86=E+@H*2$E35$]260H@("`@("`@5&AE('5U
M96YC;V1E(&-O;6UA;F0@87!P96%R960@:6X@0E-$(#0N,"X*"@H*("`@("`@
M("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@
<("`@("`@("`@("`@("`@('5U96YC;V1E*#$I"@``
`
end

Sample output:

uuencode(1)                                                        uuencode(1)



NAME
       uuencode, uudecode - encode a binary file, or decode its representation

SYNOPSIS
       uuencode [-m] [ file ] name

       uudecode [-o outfile] [ file ]...

DESCRIPTION
       Uuencode and uudecode are used to transmit binary files over  transmis-
       sion mediums that do not support other than simple ASCII data.

       Uuencode  reads  file  (or by default the standard input) and writes an
       encoded version to the standard output.  The encoding uses only  print-
       ing  ASCII characters and includes the mode of the file and the operand
       name for use by uudecode.  If name is /dev/stdout the  result  will  be
       written to standard output.  By default the standard UU encoding format
       will be used.  If the option -m is given on  the  command  line  base64
       encoding is used instead.

       Note:  uuencode  uses  buffered  input  and assumes that it is not hand
       typed from a tty.  The consequence is that at a tty, you  may  need  to
       hit Ctl-D several times to terminate input.

       Uudecode transforms uuencoded files (or by default, the standard input)
       into the original form.  The resulting file is named name  (or  outfile
       if  the -o option is given) and will have the mode of the original file
       except that setuid and execute bits are not retained.   If  outfile  or
       name  is  /dev/stdout  the  result  will be written to standard output.
       Uudecode ignores any leading and trailing lines.  The program can auto-
       matically  decide which of the two supported encoding schemes are used.

EXAMPLES
       The following example packages up a source tree, compresses  it,  uuen-
       codes  it  and  mails it to a user on another system.  When uudecode is
       run on the target system, the file ``src_tree.tar.Z'' will  be  created
       which may then be uncompressed and extracted into the original tree.


              tar  cf  -  src_tree | compress | uuencode src_tree.tar.Z | mail
              sys1!sys2!user


SEE ALSO
       compress(1), mail(1), uucp(1), uuencode(5)

STANDARDS
       This implementation is compliant with P1003.2b/D11.

BUGS
       If more than one file is given to uudecode and the -o option  is  given
       or  more  than one name in the encoded files are the same the result is
       probably not what is expected.

       The encoded form of the file is expanded by 37% for UU encoding and  by
       35% for base64 encoding (3 bytes become 4 plus control information).

REPORTING BUGS
       Report  bugs to <bug-gnu-utils@gnu.org>.  Please put sharutils or uuen-
       code in the subject line.  It helps to spot the message.

HISTORY
       The uuencode command appeared in BSD 4.0.



                                                                   uuencode(1)

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1flagitious250.02172008/01/24 01:25:490B / 19B / 5B
2eban250.04722008/01/24 01:26:450B / 15B / 10B
3leonid250.05062008/01/24 01:38:320B / 19B / 5B
4ksk250.09992008/02/06 23:14:080B / 12B / 11B
5xdigit260.03412008/01/26 12:25:200B / 13B / 11B

Perl _

RankUserSizeTimeDateStatistics
1yzx220.09002008/01/24 01:15:550B / 15B / 5B
2nuko220.09182008/01/24 01:18:370B / 15B / 5B
3Mithran220.21972008/01/25 18:02:440B / 12B / 9B
4eban230.02192008/01/24 01:29:400B / 15B / 5B
5ott230.05142008/01/26 04:29:510B / 15B / 5B
6Yenya240.05012008/01/29 00:13:390B / ?B / ?B
7xdigit260.00352008/01/26 12:21:560B / 13B / 11B

Python _

RankUserSizeTimeDateStatistics
1Defenestrator490.12982008/02/01 11:19:230B / 28B / 21B
2kt3k610.05312008/01/24 01:31:520B / 42B / 15B

PHP _

RankUserSizeTimeDateStatistics
1Super-Tomato630.13842008/02/06 19:14:460B / ?B / ?B
2o-cn490.03692010/09/26 02:07:250B / ?B / ?B
3murky-satyr582.54782008/06/30 14:42:440B / 37B / 21B

Scheme _

RankUserSizeTimeDateStatistics
1murky-satyr2090.05952008/07/05 12:18:540B / 110B / 83B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr1291.48972008/07/03 03:11:300B / 86B / 36B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr1220.15962008/07/02 03:57:230B / 74B / 46B
2nn1230.16962008/06/30 15:30:520B / 76B / 44B

Lua _

RankUserSizeTimeDateStatistics
1murky-satyr1380.01212008/07/02 04:02:130B / 78B / 53B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr1501.24982008/07/03 08:09:220B / 76B / 66B

Erlang _

RankUserSizeTimeDateStatistics
151b1660.36482008/02/05 01:37:460B / 80B / 82B

J _

RankUserSizeTimeDateStatistics
1pooq810.11982008/02/04 19:02:460B / 29B / 50B
2pooq790.13972008/09/15 16:34:210B / 29B / 48B

C _

RankUserSizeTimeDateStatistics
151b970.04032008/02/05 01:18:200B / 53B / 44B
2hinoe970.02972008/02/05 06:05:000B / 53B / 44B
3funnything980.01102008/01/31 09:03:170B / 51B / 47B
4tabasa7520.00162008/01/24 01:23:5529B / 207B / 145B
5hinoe920.02232008/02/09 06:25:340B / 49B / 43B

D _

RankUserSizeTimeDateStatistics
151b1210.03982008/02/05 01:22:560B / 75B / 43B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai2010.05112010/08/29 21:35:180B / 117B / 68B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa1440.03122008/01/25 23:18:040B / ?B / ?B

AWK _

RankUserSizeTimeDateStatistics
1nn1630.16802008/07/06 10:08:160B / 82B / 79B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(bin)1040.20682008/01/26 06:14:2954B / 33B / 15B
2ySas1210.37442008/01/25 18:12:0357B / 35B / 26B
3yshl2100.17272008/01/26 06:14:360B / 155B / 15B
4yshl(bin)1010.43972008/09/14 15:16:0153B / 28B / 19B
5yshl2090.40952008/09/14 15:15:330B / 157B / 16B

Brainfuck _

RankUserSizeTimeDateStatistics
1nuko(cheat)42960.01762008/01/24 06:10:181B / ?B / ?B

FerNANDo _

RankUserSizeTimeDateStatistics
1test13450.14942012/07/21 21:41:210B / ?B / ?B

Malbolge _

RankUserSizeTimeDateStatistics
1test1181430.02172012/07/03 04:27:470B / ?B / ?B

z80 _

RankUserSizeTimeDateStatistics
1kodera321.25262008/01/25 18:37:3822B / 5B / 4B
2ySas331.24152008/01/28 12:34:4324B / 6B / 1B
3kodera311.72012009/11/21 03:37:3720B / 5B / 4B

goruby _

RankUserSizeTimeDateStatistics
1leonid130.08832008/01/24 01:52:290B / 7B / 5B
2flagitious130.05732008/01/24 01:59:150B / 7B / 4B
3eban150.07942008/01/24 01:39:410B / 8B / 6B

Groovy _

RankUserSizeTimeDateStatistics
1nn1645.02752009/11/07 00:09:400B / 89B / 72B

Language Ranking_

RankLangUserSizeScore
1gorubyleonid1310000
2Perlyzx225909
3Rubyflagitious255200
4z80kodera314193
5PythonDefenestrator492653
6PHPo-cn492653
7Jpooq791645
8Chinoe921413
9Postscriptyshl(bin)1011287
10D51b1211074
11JavaScriptmurky-satyr1221065
12Iomurky-satyr1291007
13Luamurky-satyr138942
14Haskellnotogawa144902
15Smalltalkmurky-satyr150866
16AWKnn163797
17Groovynn164792
18Erlang51b166783
19OCamlm.ukai201646
20Schememurky-satyr209622
21FerNANDotest1345376
22Brainfucknuko(cheat)429630
23Malbolgetest1181437

return top