On Mon, Jan 04, 2016 at 04:35:17PM -0600, Dennis Williamson wrote:
> > Just bind your own keystroke to a function which uses history -d:
> >
> > histdel() {
> > local last_command histline
> >
> > last_command=$(history 1)
etc.
Hmm. Why isn't this easier...?
imadev:~$ help history
.
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA
On Mon, Jan 4, 2016 at 4:35 PM, Dennis Williamson <
dennistwilliam...@gmail.com> wrote:
>
>
> On Mon, Jan 4, 2016 at 4:05 PM, Dennis Williamson <
> dennistwilliam...@gmail.com> wrote:
>
>>
>>
>> On Mon, Jan 4, 2016 at 3:07 PM, Eduardo A. Bustamante López <
>> dual...@gmail.com> wrote:
>>
>>> Take
hello,
I cannot reproduce it in anyway on mac os x86_64 with any version
after 4.2, but I see your output on i686 linux with 4.3 and 4.4. Seems
system dependent, and also: it is enough to change line 10 to:
/bin/echo final
or
stdbuf -o0 -i0 -e0 echo final
to get expected results. I wonder if