summaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* randline: reimplementedmakefu2011-07-311-10/+3
|
* randline: initial committv2011-07-311-0/+12
|
* my-global-ipv4-addr: initial committv2011-07-301-0/+51
|
* rm kvutils and move anonbox.net to proper placetv2011-07-241-0/+57
|
* util google.suggest: initial importtv2011-07-221-0/+8
|
* util make-data-uri: rm legacy codetv2011-07-201-7/+0
|
* util krebsdate: initial committv2011-07-201-0/+10
|
* util make-data-url: initial committv2011-07-192-0/+14
NAME make-data-url - create a "data" URL scheme item SYNOPSIS make-data-url [file...] DESCRIPTION The make-data-url is a best efforts generator of "data" URL scheme compatible items as described by RFC 2397. Each file is read, analyzed, and printed as single-lined "data" URL to stdout. OPERANDS The following operands shall be supported: file A pathname of a file. The content of each file is printed as single-lined "data" URL to the standard output. The mime-type of the file's content gets guessed by the file utility. STDIN None INPUT FILES Input files can be any file type. ENVIRONMENT VARIABLES The following environment variables shall affect the execution of make-data-url: None. ASYNCHRONOUS EVENTS Default. STDOUT Each line shall contain a "data" URL item for the respective file operand. STDERR The standard error shall be used only for diagnostic messages. OUTPUT FILES None. EXTENDED DESCRIPTION None. EXIT STATUS The following exit values shall be returned: 0 The program has terminated. CONSEQUENCES OF ERRORS Default. The following sections are informative APPLICATION USAGE Default. EXAMPLES Test your backup scheme: sudo rm -fR /home RATIONALE None. FUTURE DIRECTIONS None. SEE ALSO RFC 2397, file BUGS None, this is enterprise-grade software and behaves exactly as specified. AUTHOR KREBS COPYTIGHT Copytight (c) 2011, KREBS. This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more details. COPYRIGHT Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology -- Portable Operatingg Systems Interface (POSIX), The Open Group Base Specification Issue 6, Copyright (C) 2001-2003 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html . Deal with it!