From ccf49a93d3b7b68da98d8b0661b9c37618ad6776 Mon Sep 17 00:00:00 2001 From: sk1985 <36002659+stku1985@users.noreply.github.com> Date: Fri, 12 Mar 2021 13:18:05 +0100 Subject: [PATCH] shift: add page (#5415) --- pages/common/shift.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/common/shift.md diff --git a/pages/common/shift.md b/pages/common/shift.md new file mode 100644 index 0000000000..97d4e70a8d --- /dev/null +++ b/pages/common/shift.md @@ -0,0 +1,12 @@ +# shift + +> Bash built-in command that shifts the arguments passed to the calling function or script by a specified number of places. +> More information: . + +- Move arguments by one place dropping the first argument: + +`shift` + +- Move arguments by N places dropping the first N arguments: + +`shift {{N}}`