Re: apparent inconsistencies in readline documentation

2020-07-28 Thread Daniel Molina
On 27/7/20 22:09, Chet Ramey wrote: > On 7/25/20 12:21 PM, Daniel Molina wrote: >> Hi, >> >> I found some aspects of readline documentation that seem inconsistent to >> me and I wanted to share them. >> >> 1. The difference between backward-kill-line and

apparent inconsistencies in readline documentation

2020-07-25 Thread Daniel Molina
Hi, I found some aspects of readline documentation that seem inconsistent to me and I wanted to share them. 1. The difference between backward-kill-line and unix-line-discard readline commands. Documentation states:    backward-kill-line (C-x Rubout)   Kill backward to the begin

nameref pointing to array element

2020-04-22 Thread Daniel Molina
Hello, Is the following an intended behavior? Undefined? A bug? $ a[1]=2; declare -n ref=a[1]; echo $ref $((ref)) 2 0 Thanks, Daniel