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 sourcetronic.com 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 
(2022-10-21) x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 5.1
Patch Level: 4
Release Status: release

Description:
        Found while editing history line with a find pattern.
        Apparently bash doesn't like + characters very much.

Repeat-By:
        find . -type f -ctime +30 ! -ctime +40 -exec ls -la --full-time {} +
        Move cursor to any point after find and before -exec, press TAB, and 
bash will print
        -bash: COMP_POINT: substring expression < 0
        (before the +3)
        or
        -bash: index: substring expression < 0
        (after the +3)
        at the cursor position and abort editing the line.
        
MfG MOW []-)

Reply via email to