On 1/18/25 1:29 AM, Martin Schulte wrote:
Hello,
in 9.3.2 of https://www.gnu.org/software/bash/manual/bash.html we find:
!!:$ designates the last argument of the preceding command. This may be
shortened to !$.
Shouldn't this be "the last word" instead of the "the last argument":
I can see t
!!:$ null
!$ null
$_ echo
On Sat, Jan 18, 2025, 7:29 AM Martin Schulte
wrote:
> Hello,
>
> in 9.3.2 of https://www.gnu.org/software/bash/manual/bash.html we find:
>
> !!:$ designates the last argument of the preceding command. This may be
> shortened to !$.
>
> Shouldn't this be "the last word"
Hello,
in 9.3.2 of https://www.gnu.org/software/bash/manual/bash.html we find:
!!:$ designates the last argument of the preceding command. This may be
shortened to !$.
Shouldn't this be "the last word" instead of the "the last argument":
$ echo hello > /dev/null
$ echo !!:$
echo /dev/null
/dev