On Sun, Nov 14, 2021, at 11:40 AM, 積丹尼 Dan Jacobson wrote: > Man page says: > -v Print shell input lines as they are read. > -x Print commands and their arguments as they are executed. > Perhaps mention that -x and -vx give the same results, often or always.
They don't, though.
% bash -xc 'echo "$BASH_VERSION"'
+ echo '5.1.8(1)-release'
5.1.8(1)-release
% bash -xvc 'echo "$BASH_VERSION"'
echo "$BASH_VERSION"
+ echo '5.1.8(1)-release'
5.1.8(1)-release
--
vq
