[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: . and .. are included where they were excluded before
From: |
pepa65 |
Subject: |
Re: . and .. are included where they were excluded before |
Date: |
Wed, 27 Jan 2021 16:07:48 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 27/01/2021 14.49, kfm@plushkava.net wrote:
> That's why your .? glob doesn't match the .. pathname. Normally,
> GLOBIGNORE isn't set.
After unsetting GLOBIGNORE:
$ declare -p GLOBIGNORE
declare -x GLOBIGNORE=""
$ shopt -u extglob
$ echo @(?|.?)
-bash: syntax error near unexpected token `('
$ shopt -s extglob
$ echo @(?|.?)
. ..
At any rate, the following command may help you to track
> down where it's coming from.
>
> $ PS4='+$BASH_SOURCE:$LINENO: ' bash -ixlc '' |& less
It turned out this was erroneously set in a profile...
Thanks,
Peter
- Re: . and .. are included where they were excluded before, (continued)
- Re: . and .. are included where they were excluded before, gregrwm, 2021/01/26
- Re: . and .. are included where they were excluded before, , 2021/01/26
- Re: . and .. are included where they were excluded before, Chet Ramey, 2021/01/26
- Re: . and .. are included where they were excluded before, , 2021/01/26
- Re: . and .. are included where they were excluded before, Chet Ramey, 2021/01/26
- Re: . and .. are included where they were excluded before, , 2021/01/26
- Re: . and .. are included where they were excluded before, pepa65, 2021/01/27
- Re: . and .. are included where they were excluded before, , 2021/01/27
- Re: . and .. are included where they were excluded before, pepa65, 2021/01/27
- Re: . and .. are included where they were excluded before, , 2021/01/27
- Re: . and .. are included where they were excluded before,
pepa65 <=
- Re: . and .. are included where they were excluded before, Chet Ramey, 2021/01/27
- Re: . and .. are included where they were excluded before, Chet Ramey, 2021/01/26
Re: . and .. are included where they were excluded before, L A Walsh, 2021/01/26