GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing ss64.com — shift Man Page - Linux shiftShift positional parameters to the left by n.Syntax
shift [n]
Options
n : The number of parameters to shift (default = 1)
The positional parameters from This is a BASH shell builtin, to display your local syntax from the bash prompt type: help shift ExamplesPOEM="Hope is the thing with feathers" set -- $POEM first=$1 shift therest=$@ echo "first: $first" echo "therest: $therest" Output: first: Hope therest: is the thing with feathers “Here lies Colonel Chinstrap, drowned, From the inside” ~ Shifting sands, The Goon Show Related Linux commandsgetopts - Parse positional parameters. Copyright © 1999-2026 SS64.com
Some rights reserved |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |