We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Related: #3733
/bin/sh -c "echo 'hi, mom'" /bin/sh -c 'echo "hi, mom"'
hi, mom hi, mom
hi, mom hi,
The following literals should be passed through to sh (there's nothing for PowerShell to interpret here):
sh
echo 'hi, mom' echo "hi, mom"
To a POSIX-like shell, these two commands are equivalent (not generally, but with the given strings).
Unexpectedly, in the case of the 2nd command, 2 arguments are passed ($<n> represents the n-th positional parameter):
$<n>
$1=[echo hi,] $2=[mom]
PowerShell Core v6.0.0-alpha (v6.0.0-alpha.18) on macOS 10.12.4 PowerShell Core v6.0.0-alpha (v6.0.0-alpha.18) on Ubuntu 16.04.1 LTS
Related: #3733
Steps to reproduce
Expected behavior
Actual behavior
The following literals should be passed through to
sh(there's nothing for PowerShell to interpret here):To a POSIX-like shell, these two commands are equivalent (not generally, but with the given strings).
Unexpectedly, in the case of the 2nd command, 2 arguments are passed (
$<n>represents the n-th positional parameter):Environment data