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/positional-parameters.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 devdocs/bash/positional-parameters.html (limited to 'devdocs/bash/positional-parameters.html') diff --git a/devdocs/bash/positional-parameters.html b/devdocs/bash/positional-parameters.html new file mode 100644 index 00000000..427d3890 --- /dev/null +++ b/devdocs/bash/positional-parameters.html @@ -0,0 +1,6 @@ +

Positional Parameters

A positional parameter is a parameter denoted by one or more digits, other than the single digit 0. Positional parameters are assigned from the shell’s arguments when it is invoked, and may be reassigned using the set builtin command. Positional parameter N may be referenced as ${N}, or as $N when N consists of a single digit. Positional parameters may not be assigned to with assignment statements. The set and shift builtins are used to set and unset them (see Shell Builtin Commands). The positional parameters are temporarily replaced when a shell function is executed (see Shell Functions).

When a positional parameter consisting of more than a single digit is expanded, it must be enclosed in braces.

+

+ 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/Positional-Parameters.html +

+
-- cgit v1.2.3