[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: run a complete -F function inside HERE document?
From: |
alex xmb ratchev |
Subject: |
Re: run a complete -F function inside HERE document? |
Date: |
Tue, 18 Apr 2023 16:05:00 +0200 |
On Tue, Apr 18, 2023, 15:50 Chet Ramey <chet.ramey@case.edu> wrote:
> On 4/16/23 2:45 PM, Britton Kerin wrote:
> > I'd like to be able to generate completion candidates inside a HERE
> > document. Unfortunately this doesn't work:
>
> Readline is pretty line-oriented, so there's no going back there. There
> isn't any plumbing on the bash side of completion to go back in the
> history to the beginning of the command (not possible unless you're using
> command-oriented history) to check the command word when the parser is
> reading a here-document.
>
> If someone wanted to take a shot at augmenting shell completion to do that,
> I'd be glad to take a look at integrating it.
>
in my noobs aspect ..
have : readline , input handling lib , no sav
have : bash , utilizing it , no sav
need : <declaration> , i dunno much , it d say sav as in some saving of the
stuff for later re/usage
do : <specify word keywords of wanted related features>
do : think of overlapping var names ( i suppose u know , i dont , this .c
is too old )
and : implent them
hope it helps
--
> ``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/
>
>
>