commit 51d379d40d14d35ccb8e4038504d6c0cda9be62c
parent 56998feebd6f7ec0ab68e44cba3425bf39d448b4
Author: Enan Ajmain <3nan.ajmain@gmail.com>
Date: Tue, 4 Oct 2022 02:14:18 +0600
docs(shell): mention "&" for piping with powershell #20459
New behaviour since PR #19438
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
@@ -260,6 +260,10 @@ g8 Print the hex values of the bytes used in the
Use |jobstart()| instead. >
:call jobstart('foo', {'detach':1})
<
+ For powershell, chaining a stringed executable path
+ requires using the call operator (&). >
+ :!Write-Output "1`n2" | & "C:\Windows\System32\sort.exe" /r
+<
*E34*
Any "!" in {cmd} is replaced with the previous
external command (see also 'cpoptions'), unless