diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-05-05 14:15:22 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-05-05 14:15:22 +0000 |
| commit | 724d0a049f46f68f24d3eca6c7975d12d37d6062 (patch) | |
| tree | f42bd0eb5974639396e5bfb87702f8453c4c2911 /doc | |
| parent | d26ae76e4c4e09a9e58454743ac995ccbccfd1c2 (diff) | |
| download | execline-724d0a049f46f68f24d3eca6c7975d12d37d6062.tar.gz | |
Change redirfd -v to redirfd -f, for less cognitive load
No matter how much I tried to use -v, it kept coming out as -f.
So, work with the brain, not against it.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/redirfd.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/redirfd.html b/doc/redirfd.html index 295b603..b64743b 100644 --- a/doc/redirfd.html +++ b/doc/redirfd.html @@ -28,7 +28,7 @@ executes a program. <pre> redirfd [ -r | -w | -u | -a | -x ] [ -n ] [ -b ] <em>fd</em> <em>file</em> <em>prog...</em><br> - redirfd [ -r | -w | -u | -a | -x ] [ -n ] [ -b ] [ -v ] [ -e | -E ] <em>var</em> <em>file</em> <em>prog...</em><br> + redirfd [ -r | -w | -u | -a | -x ] [ -n ] [ -b ] [ -f ] [ -e | -E ] <em>var</em> <em>file</em> <em>prog...</em><br> </pre> <p> @@ -60,10 +60,10 @@ the -n and -b options may be added in any case. <li> <tt>-b</tt> : change mode of <em>file</em> after opening it: to non-blocking mode if the <tt>-n</tt> option was not given, to blocking mode if it was. </li> - <li> <tt>-v</tt> : interpret the first argument as an environment variable, + <li> <tt>-f</tt> : interpret the first argument as an environment variable, and stores the new file descriptor into that variable before execing. </li> <li> <tt>-e</tt> : no autoimport. This is the default. </li> - <li> <tt>-E</tt> : autoimport. This is only useful with the <tt>-v</tt> option. + <li> <tt>-E</tt> : autoimport. This is only useful with the <tt>-f</tt> option. Instead of executing <em>prog...</em>, execute <tt>importas -uSi <em>var</em> <em>prog...</em></tt>. This substitutes <em>var</em> into the command line instead of putting it into |
