jpayne@68: '\" t jpayne@68: .\" Title: gifinto jpayne@68: .\" Author: [see the "Author" section] jpayne@68: .\" Generator: DocBook XSL Stylesheets vsnapshot jpayne@68: .\" Date: 2 May 2012 jpayne@68: .\" Manual: GIFLIB Documentation jpayne@68: .\" Source: GIFLIB jpayne@68: .\" Language: English jpayne@68: .\" jpayne@68: .TH "GIFINTO" "1" "2 May 2012" "GIFLIB" "GIFLIB Documentation" jpayne@68: .\" ----------------------------------------------------------------- jpayne@68: .\" * Define some portability stuff jpayne@68: .\" ----------------------------------------------------------------- jpayne@68: .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpayne@68: .\" http://bugs.debian.org/507673 jpayne@68: .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html jpayne@68: .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpayne@68: .ie \n(.g .ds Aq \(aq jpayne@68: .el .ds Aq ' jpayne@68: .\" ----------------------------------------------------------------- jpayne@68: .\" * set default formatting jpayne@68: .\" ----------------------------------------------------------------- jpayne@68: .\" disable hyphenation jpayne@68: .nh jpayne@68: .\" disable justification (adjust text to left margin only) jpayne@68: .ad l jpayne@68: .\" ----------------------------------------------------------------- jpayne@68: .\" * MAIN CONTENT STARTS HERE * jpayne@68: .\" ----------------------------------------------------------------- jpayne@68: .SH "NAME" jpayne@68: gifinto \- save GIF on stdin to file if size over set threshold jpayne@68: .SH "SYNOPSIS" jpayne@68: .HP \w'\fBgifinto\fR\ 'u jpayne@68: \fBgifinto\fR [\-v] [\-s\ \fIminsize\fR] [\-h] [\fIoutfile\fR] jpayne@68: .SH "DESCRIPTION" jpayne@68: .PP jpayne@68: A program to save stdin into a file with given name, if the result file has size bigger than specified (see below)\&. This can be used to save a result under the same filename we started with in a chain of pipes\&. jpayne@68: .PP jpayne@68: Always reads a GIF file from stdin\&. jpayne@68: .SH "OPTIONS" jpayne@68: .PP jpayne@68: \-v jpayne@68: .RS 4 jpayne@68: Verbose mode (show progress)\&. Enables printout of running scan lines\&. jpayne@68: .RE jpayne@68: .PP jpayne@68: \-s MinFileSize jpayne@68: .RS 4 jpayne@68: If file is less than MinFileSize, it is deleted and not renamed to the given name\&. This will prevent killing the file we started with if the result is an empty file, or the pipeline did not complete\&. jpayne@68: .sp jpayne@68: The default file threshold size is 14 bytes, which is 1 bigger than GIF file stamp (6 bytes) plus a GIF file screen descriptor (7 bytes), so a GIF file with only GIF stamp and screen descriptor will not be renamed\&. jpayne@68: .RE jpayne@68: .PP jpayne@68: \-h jpayne@68: .RS 4 jpayne@68: Print one line of command line help, similar to Usage above\&. jpayne@68: .RE jpayne@68: .SH "AUTHOR" jpayne@68: .PP jpayne@68: Gershon Elber\&.