[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash command completion sometime behave erroneously specifically ret
From: |
Chet Ramey |
Subject: |
Re: bash command completion sometime behave erroneously specifically return 0 |
Date: |
Wed, 30 Jan 2019 11:09:27 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 1/28/19 7:16 PM, Hyunho Cho wrote:
> Bash Version: 4.4
> Patch Level: 19
> Release Status: release
>
> Description:
>
> ##################################################################
>
> bash command completion sometime behave erroneously
> almost works correctly but some cases do not work
> specifically return 0 when press tab key
>
> this is the script i have used and i will attach screenshot recording
It's likely the command substitution isn't producing any output to
store in WORDS.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/