sbase

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

uudecode.1 (974B)


      1 .Dd October 8, 2015
      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.
     18 Otherwise a new file is created.
     19 The permissions of the created/accessed file are changed to reflect the
     20 mode in the header.
     21 If no
     22 .Ar file
     23 is given
     24 .Nm
     25 reads from stdin.
     26 .Sh OPTIONS
     27 .Bl -tag -width Ds
     28 .It Fl m
     29 Use Base64 for decoding.
     30 .It Fl o Ar output
     31 Write to
     32 .Ar output
     33 rather than the file specified in the header.
     34 .El
     35 .Sh IMPLEMENTATION NOTES
     36 For safety uudecode operates on regular files and stdout only.
     37 Trying to uudecode to a link, directory, or special file
     38 yields an error.
     39 .Sh SEE ALSO
     40 .Xr uuencode 1
     41 .Sh STANDARDS
     42 The
     43 .Nm
     44 utility is compliant with the
     45 .St -p1003.1-2013
     46 specification.
     47 .Pp
     48 The
     49 .Op Fl m
     50 flag is an extension to that specification.