From 9398f4863bfe2116ba2ddd75cdb0cc8a65ef81fe Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 28 Nov 2015 13:39:20 +0100 Subject: m info + improve readme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/gpp.texinfo | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'info') diff --git a/info/gpp.texinfo b/info/gpp.texinfo index c2991b3..fcc566a 100644 --- a/info/gpp.texinfo +++ b/info/gpp.texinfo @@ -110,7 +110,7 @@ Set the prefix symbol for preprocessor directives. (Default: @@) @item -e @itemx --encoding -Set the encoding of file. (Default: UTF-8) +Set the encoding of file. @item -n @itemx --iterations @@ -119,8 +119,8 @@ Number of iterations to run the preprocessing in. (Default: 1) @item -u @itemx --unshebang Blank out the shebang line. Notice that the line is not removed, -it is just cleared. You can use a shebang line make gpp preprocess -the file when executed. +it is just cleared. You can use a shebang line make to gpp +preprocess the file when executed. If @option{--unshebang} is used twice, the second line in the file will be moved up to the top of the file and the initial @@ -228,12 +228,22 @@ logged in as `twilight' Your are logged in as @@@{USER@}. @end example +@noindent will after preprocessing say @example Your are logged in as twilight. @end example +@noindent +@command{gpp} supports all modifications to the +result that Bash does. For example, if you want +the value to be uppercased you can write + +@example +Your are logged in as @@@{USER^^@}. +@end example + @node GNU Free Documentation License -- cgit v1.2.3-70-g09d2