pnmtorast(1) General Commands Manual pnmtorast(1)NAME
pnmtorast - convert a portable pixmap into a Sun rasterfile
pnmtorast [-standard|-rle] [pnmfile]
Reads a portable pixmap as input. Produces a Sun rasterfile as output.
Color values in Sun rasterfiles are eight bits wide, so pnmtorast will automatically scale colors to have a maxval of 255. An extra
pnmdepth step is not necessary.
The -standard flag forces the result to be in RT_STANDARD form; the -rle flag, RT_BYTE_ENCODED, which is smaller but, well, less standard.
The default is -rle.
All flags can be abbreviated to their shortest unique prefix.
SEE ALSO rasttopnm(1), pnm(5)AUTHOR
Copyright (C) 1989, 1991 by Jef Poskanzer.
12 January 1991 pnmtorast(1)
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)