mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2024-12-19 06:37:51 +00:00
25 lines
378 B
Plaintext
25 lines
378 B
Plaintext
|
abc123
|
||
|
|
||
|
Use second argument to return just 1 variable.
|
||
|
parse_url() demo:
|
||
|
|
||
|
proto: http://
|
||
|
user: johndoe
|
||
|
pass: abc123
|
||
|
host: example.com
|
||
|
port: 8080
|
||
|
path: index.html
|
||
|
|
||
|
abc123
|
||
|
|
||
|
Use second argument to return just 1 variable.
|
||
|
parse_url() demo:
|
||
|
|
||
|
proto: http://
|
||
|
user: johndoe
|
||
|
pass: abc123
|
||
|
host: example.com
|
||
|
port: 8080
|
||
|
path: index.html
|
||
|
|