Compare commits
2 Commits
036200cac3
...
eb8f74b391
Author | SHA1 | Date |
---|---|---|
Case Duckworth | eb8f74b391 | |
Case Duckworth | 5538af7955 |
4
bollux
4
bollux
|
@ -455,7 +455,7 @@ usplit() { # usplit URL_ARRAY<name> URL
|
|||
# Join a URL array, split with `usplit', back into a string, assigning
|
||||
# it to the 0th element of the array.
|
||||
ujoin() { # ujoin URL_ARRAY<name>
|
||||
# Here's the documentation for the '-n' flag:
|
||||
# Here's the documentation for local's '-n' flag:
|
||||
#
|
||||
# Give each name the nameref attribute, making it a name reference
|
||||
# to another variable. That other variable is defined by the value of
|
||||
|
@ -1617,7 +1617,7 @@ blastoff() { # blastoff [-u] URL
|
|||
# Implementation detail: because Bash is really stupid when it comes to
|
||||
# arrays, the URL functions u* (see below) work with an array defined
|
||||
# with `local -a' and passed by name, not by value. Thus, the
|
||||
# `urltransform url ...' instead of `urltransform "${url[@]}"' or
|
||||
# `utransform url ...' instead of `urltransform "${url[@]}"' or
|
||||
# similar. In addition, the `ucdef' and `ucset' functions take the name
|
||||
# of the array element as parameters, not the element itself.
|
||||
local -a url
|
||||
|
|
Loading…
Reference in New Issue