Re: Manual entry for !!:$

2025-01-20 Thread Chet Ramey
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

Re: Manual entry for !!:$

2025-01-18 Thread microsuxx
!!:$ 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"

Manual entry for !!:$

2025-01-17 Thread Martin Schulte
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