Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pnmsplit(1) [x11r4 man page]

pnmsplit(1)						      General Commands Manual						       pnmsplit(1)

pnmsplit - split a multi-image portable anymap into multiple single-image files SYNOPSIS
pnmsplit [pnmfile[ output_file_pattern]] DESCRIPTION
Reads a Netpbm file as input. Copies each image in the input into a separate file, in the same format. pnmfile is the file specification of the input file, or - to indicate Standard Input. The default is Standard Input. output_file_pattern tells how to name the output files. It is the file specification of the output file, except that the first occurence of "%d" in it is replaced by the image sequence number in unpadded ASCII decimal, with the sequence starting at 0. If there is no "%d" in the pattern, pnmsplit fails. The default output file pattern is "image%d". Note that to do the reverse operation (combining multiple single-image PNM files into a multi-image one), there is no special Netpbm pro- gram. Just use cat. SEE ALSO
pnm(5), cat(1) AUTHOR
Written by Bryan Henderson 19 June 2000 pnmsplit(1)

Check Out this Related Man Page

anytopnm(1)						      General Commands Manual						       anytopnm(1)

anytopnm - attempt to convert an unknown type of image file to a portable anymap SYNOPSIS
anytopnm [file] DESCRIPTION
anytopnm converts the input image, which may be in any of dozens of graphics formats, to PBM, PGM, or PPM format, depending on that nature of the input image, and outputs it to Standard Output. To determine the format of the input, anytopnm uses the file program (possibly assisted by the magic numbers file fragment included with Netpbm). If that fails (very few image formats have magic numbers), anytopnm looks at the filename extension. If that fails, anytopnm punts. The type of the output file depends on the input image. If file indicates that the input file is compressed (either via Unix compress, gzip, or bzip compression), anytopnm uncompresses it and proceeds as above with the uncompressed result. If file indicates that the input file is encoded by uuencode or btoa, anytopnm decodes it and proceeds as above with the decoded result. If file is - or not given, anytopnm takes its input from Standard Input. SEE ALSO
pnmfile(1), pnm(5), file(1) AUTHOR
Copyright (C) 1991 by Jef Poskanzer. 11 July 2000 anytopnm(1)
Man Page

We Also Found This Discussion For You

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies