diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-24 17:56:57 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-24 17:56:57 +0000 |
commit | 49b387bb53e76eecd2b6cf4f89f3146fc2198bd3 (patch) | |
tree | 6dc1c9dc123a685f02ca29564fe6d58194cedfcb /doc/backtick.html | |
parent | 6d217dbeac86c8e5a15fed4c7d3a58d81420d9b0 (diff) | |
download | execline-49b387bb53e76eecd2b6cf4f89f3146fc2198bd3.tar.xz |
Fix chomping: only make it default on line-processing binaries
Diffstat (limited to 'doc/backtick.html')
-rw-r--r-- | doc/backtick.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/backtick.html b/doc/backtick.html index b1e2870..1f77432 100644 --- a/doc/backtick.html +++ b/doc/backtick.html @@ -30,7 +30,7 @@ environment variable, then executes another program. </p> <pre> - backtick [ -i | -I | -D <em>default</em> ] [ -n ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em> + backtick [ -i | -I | -D <em>default</em> ] [ -N | -n ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em> </pre> <ul> @@ -46,8 +46,8 @@ output as a value. </li> <h2> Options </h2> <ul> - <li> <tt>-n</tt> : chomp an ending newline off <em>prog1...</em>'s -output. </li> + <li> <tt>-N</tt> : store <em>prog1...</em>'s output as is, including the last newline, if any. </li> + <li> <tt>-n</tt> : chomp an ending newline off <em>prog1...</em>'s output. This is the default. </li> </ul> <p> |