1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 06:35:24 +02:00

Replace "Bash" with "Shell" (#10301)

The shift command is defined in the POSIX standard. It is not a Bash built-in command. Saying this implies that it's Bash-only, which is not true.

More info here:
https://manned.org/shift.1p
This commit is contained in:
4G3NT 2023-05-30 11:35:53 -07:00 committed by GitHub
parent f6ef0725f8
commit 52447db138
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
# shift
> Bash built-in command that shifts the arguments passed to the calling function or script by a specified number of places.
> Shell built-in command that shifts the arguments passed to the calling function or script by a specified number of places.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-shift>.
- Move arguments by one place dropping the first argument: