From 0719a43f1978ed0a0e3f09082518199e9d12fbef Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 17 Feb 2018 16:52:15 +0000 Subject: miscellaneous update git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@3156 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- pam.html | 2 +- pbmtext.html | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/pam.html b/pam.html index 0751c998..c9b288f7 100644 --- a/pam.html +++ b/pam.html @@ -69,7 +69,7 @@ library functions that can each handle all three of those formats. that you can represent the same information in a PAM image as you can in a PBM, PGM, or PPM image. And in fact a program that is designed to read PBM, PGM, or PPM and does so with a recent version of the -Netpbm library, will read an equivalent PAM image just fine and the +Netpbm library will read an equivalent PAM image just fine and the program will never know the difference.

To confuse things more, there is a collection of library routines diff --git a/pbmtext.html b/pbmtext.html index 6233da11..2fd58daf 100644 --- a/pbmtext.html +++ b/pbmtext.html @@ -19,6 +19,7 @@ pbmtext - render text into a PBM image [-lspace pixels] [-nomargins] [-width pixels] +[-text-dump] [text]

Minimum unique abbreviation of option is acceptable. You may use double @@ -34,6 +35,10 @@ space in place of the equals sign to separate an option name from its value. the command line or multiple lines from standard input, and renders it into a PBM graphical image. +

The text rendered is all the non-option command line arguments, separated +by spaces, except that if there are no non-option command line arguments, it +is Standard Input. +

In the image, each line of input is a line of output. Formatting characters such as newline have no effect on the formatting; like any unprintable character, they turn into spaces. @@ -138,6 +143,13 @@ the middle of a word and a line may begin or end with white space. have line breaks where they make sense, and pbmtext simply truncates each line as needed to fit the specified width. +

-text-dump +
+This option causes pbmtext just to write to Standard Output the text in +ASCII that would be rendered. The output reflects any text formatting, +unprintable character substitution, tab expansion, etc. It is for diagnosing +problems. This option was new in Netpbm 10.82 (March 2018). + -- cgit 1.4.1