Hello,

the difference described below is not evident from the documentation.

Със здраве
  Дилян

On 15.04.2014 22:20, Chet Ramey wrote:
On 4/12/14, 3:34 PM, Дилян Палаузов wrote:
Hello,

readline-6.3/doc/rluserman.texi, Node Bindable Readline Commands > Killing
and Yanking states:

`backward-kill-line (C-x Rubout)'
      Kill backward to the beginning of the line.

`unix-line-discard (C-u)'
      Kill backward from the cursor to the beginning of the current line.

What is the difference between unix-line-discard and backward-kill-line ?

There's little practical difference.  backward-kill-line understands
negative arguments, but both commands end up putting the same text into
the kill ring and leaving point at the same spot.


_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to