From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/bash/readline-arguments.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 devdocs/bash/readline-arguments.html (limited to 'devdocs/bash/readline-arguments.html') diff --git a/devdocs/bash/readline-arguments.html b/devdocs/bash/readline-arguments.html new file mode 100644 index 00000000..51af4e8e --- /dev/null +++ b/devdocs/bash/readline-arguments.html @@ -0,0 +1,6 @@ +

Readline Arguments

You can pass numeric arguments to Readline commands. Sometimes the argument acts as a repeat count, other times it is the sign of the argument that is significant. If you pass a negative argument to a command which normally acts in a forward direction, that command will act in a backward direction. For example, to kill text back to the start of the line, you might type ‘M-- C-k’.

The general way to pass numeric arguments to a command is to type meta digits before the command. If the first ‘digit’ typed is a minus sign (‘-’), then the sign of the argument will be negative. Once you have typed one meta digit to get the argument started, you can type the remainder of the digits, and then the command. For example, to give the C-d command an argument of 10, you could type ‘M-1 0 C-d’, which will delete the next ten characters on the input line.

+

+ Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
Licensed under the GNU Free Documentation License.
+ https://www.gnu.org/software/bash/manual/html_node/Readline-Arguments.html +

+
-- cgit v1.2.3