sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

uudecode.1 (969B)


      1 .Dd 2015-10-08
      2 .Dt UUDECODE 1
      3 .Os sbase
      4 .Sh NAME
      5 .Nm uudecode
      6 .Nd decode a uuencoded file
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Op Fl m
     10 .Op Fl o Ar output
     11 .Op Ar file
     12 .Sh DESCRIPTION
     13 .Nm
     14 reads
     15 .Ar file
     16 and writes a decoded version to the file specified in the uuencoded header.
     17 In case the file already exists, it is truncated. Otherwise a new file is
     18 created. The permissions of the created/accessed file are changed to
     19 reflect the mode in the header.
     20 If no
     21 .Ar file
     22 is given
     23 .Nm
     24 reads from stdin.
     25 .Sh OPTIONS
     26 .Bl -tag -width Ds
     27 .It Fl m
     28 Use Base64 for decoding.
     29 .It Fl o Ar output
     30 Write to
     31 .Ar output
     32 rather than the file specified in the header.
     33 .El
     34 .Sh IMPLEMENTATION NOTES
     35 For safety uudecode operates on regular files and stdout only.
     36 Trying to uudecode to a link, directory, or special file
     37 yields an error.
     38 .Sh SEE ALSO
     39 .Xr uuencode 1
     40 .Sh STANDARDS
     41 The
     42 .Nm
     43 utility is compliant with the
     44 .St -p1003.1-2013
     45 specification.
     46 .Pp
     47 The
     48 .Op Fl m
     49 flag is an extension to that specification.