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
On Fri, Jan 17, 2025, at 7:55 AM, Greg Wooledge wrote:
> On Thu, Jan 16, 2025 at 21:16:47 -0800, Wiley Young wrote:
>> But sentence six is an emphatic concern if you ask me, for how "character"
>> reads as "alphabetic character". Also how sentences five and six can be
>> read as contradictory.
>
>
On Fri, Jan 17, 2025 at 5:34 PM Chet Ramey wrote:
>
> On 1/17/25 4:57 PM, Grisha Levit wrote:
> > On Fri, Jan 17, 2025 at 4:47 PM Grisha Levit wrote:
> >>
> >> On Fri, Jan 17, 2025 at 9:31 AM Chet Ramey wrote:
> >>>
> >>> On 1/15/25 4:08 PM, Grisha Levit wrote:
> Another undo list UAF. Rela
On Fri, Jan 17, 2025 at 21:11:12 +0100, dv wrote:
> Description:
> # If the input string of a READ matches a variable in the script, REPLY is
> # set to the value that variable, not to the string.
> declare -i int
There's your problem: you're using the -i attribute on a variable without
understan
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall
uname output: Linux amnesia 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian
6.1.90-1 (2024-05-03)
On 1/17/25 4:57 PM, Grisha Levit wrote:
On Fri, Jan 17, 2025 at 4:47 PM Grisha Levit wrote:
On Fri, Jan 17, 2025 at 9:31 AM Chet Ramey wrote:
On 1/15/25 4:08 PM, Grisha Levit wrote:
Another undo list UAF. Related, I think, to edit-and-execute-command.
HISTFILE= INPUTRC=/ bash --norc -in <
On 1/17/25 4:47 PM, Grisha Levit wrote:
I just tried a fresh build on macOS (15.2, arm64) and see the same result:
$ ./configure CFLAGS='-fsanitize=address'
$ make -j
$ HISTFILE= INPUTRC=/ ./bash --norc -in <<< $' \n\cP \cN\cP\cU\cX\cE\n\e<'
bash-5.3$
bash-5.3$
bash-5.3$
bash-5.3$
On Fri, Jan 17, 2025 at 4:47 PM Grisha Levit wrote:
>
> On Fri, Jan 17, 2025 at 9:31 AM Chet Ramey wrote:
> >
> > On 1/15/25 4:08 PM, Grisha Levit wrote:
> > > Another undo list UAF. Related, I think, to edit-and-execute-command.
> > >
> > > HISTFILE= INPUTRC=/ bash --norc -in <<< $' \n\cP \cN\cP
On Fri, Jan 17, 2025 at 9:31 AM Chet Ramey wrote:
>
> On 1/15/25 4:08 PM, Grisha Levit wrote:
> > Another undo list UAF. Related, I think, to edit-and-execute-command.
> >
> > HISTFILE= INPUTRC=/ bash --norc -in <<< $' \n\cP \cN\cP\cU\cX\cE\n\e<'
>
> I can't reproduce this on macOS.
>
I just trie
those bugs have old lib versions around ..
On Fri, Jan 17, 2025, 3:32 PM Chet Ramey wrote:
> On 1/15/25 4:08 PM, Grisha Levit wrote:
> > Another undo list UAF. Related, I think, to edit-and-execute-command.
> >
> > HISTFILE= INPUTRC=/ bash --norc -in <<< $' \n\cP \cN\cP\cU\cX\cE\n\e<'
>
> I can'
On 1/15/25 4:08 PM, Grisha Levit wrote:
Another undo list UAF. Related, I think, to edit-and-execute-command.
HISTFILE= INPUTRC=/ bash --norc -in <<< $' \n\cP \cN\cP\cU\cX\cE\n\e<'
I can't reproduce this on macOS.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
On Thu, Jan 16, 2025 at 21:16:47 -0800, Wiley Young wrote:
> Well, however an amendment might occur, "Each character in the expanded
> value of parameter is tested against pattern" to my ear reads as referring
> to alphabetic characters, as per sentence one, however they may appear in
> binary.
Ch
12 matches
Mail list logo