Compare commits

...

2 Commits

Author SHA1 Message Date
Case Duckworth eb8f74b391 Clarify comment 2022-06-08 17:09:00 -05:00
Case Duckworth 5538af7955 Fix typo -- thanks White_Rabbit! 2022-06-08 17:08:51 -05:00
1 changed files with 2 additions and 2 deletions

4
bollux
View File

@ -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