diff options
author | Case Duckworth | 2022-04-13 17:08:20 -0500 |
---|---|---|
committer | Case Duckworth | 2022-04-13 17:08:20 -0500 |
commit | 20c5a6a2c997aaaa7b3b86e04c74d0073e56c5cf (patch) | |
tree | 1f1077c75d48a14f76b5d0a56e3f83b322f0e97d | |
parent | Change prompt (diff) | |
download | etc-20c5a6a2c997aaaa7b3b86e04c74d0073e56c5cf.tar.gz etc-20c5a6a2c997aaaa7b3b86e04c74d0073e56c5cf.zip |
Change commentary style
-rw-r--r-- | bash/functions.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/functions.bash b/bash/functions.bash index 058e0f9..de6c37a 100644 --- a/bash/functions.bash +++ b/bash/functions.bash | |||
@@ -1,6 +1,6 @@ | |||
1 | memq() { # memq ITEM ARRAY | 1 | memq() { # memq ITEM ARRAY |
2 | # Test whether an ITEM is a member of ARRAY. | 2 | ## Test whether an ITEM is a member of ARRAY. |
3 | # Pass ARRAY as ${ARRAY[@]}. | 3 | ## Pass ARRAY as ${ARRAY[@]}. |
4 | local e needle="$1"; shift | 4 | local e needle="$1"; shift |
5 | for e; do | 5 | for e; do |
6 | [[ "$e" == "$needle" ]] && { | 6 | [[ "$e" == "$needle" ]] && { |