Re: [MFC REQUEST] Filename completion in sh(1)

From: jhell <jhell_at_dataix.net>
Date: Tue, 15 Jun 2010 22:08:42 -0400
On 06/15/2010 22:00, jhell wrote:
> On 06/15/2010 21:14, Brandon Gooch wrote:
>> I discovered a few moments ago that filename completion had been
>> committed to HEAD[1]!!!
> 
>> This is a (seemingly) small, yet VERY useful addition, and, of course
>> I'm so grateful to Guy Yur and Jilles for getting this into the tree
>> :)
> 
>> I would like to make an "official" request that this feature be MFC'd
>> to 8-STABLE as soon as reasonably possible.
> 
>> Again, my thanks to you both for your work!
> 
>> -Brandon
> 
>> [1] http://svn.freebsd.org/viewvc/base?view=revision&revision=209221
> 
> Here is a diff from stable/8/bin/sh r209146 -> head/bin/sh. This is
> quite a large difference among the two with the following diffstats.
> 
>  44 files changed, 1214 insertions(+), 728 deletions(-)
> 
> This is untested, use at your own risk.
> 

Actually, I lied. I have just tested it and it does not compile for the
following errors:

/usr/src/bin/sh/histedit.c: In function 'histedit':
/usr/src/bin/sh/histedit.c:124: error: '_el_fn_sh_complete' undeclared
(first use in this function)
/usr/src/bin/sh/histedit.c:124: error: (Each undeclared identifier is
reported only once
/usr/src/bin/sh/histedit.c:124: error: for each function it appears in.)

But I do not have time to look into this further until tommorow.

Regards,

-- 

 jhell
Received on Wed Jun 16 2010 - 00:09:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC