summaryrefslogtreecommitdiff
path: root/public/bash-arrays.md
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-04-26 12:36:53 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-04-26 12:36:53 -0400
commit3d172e4037b6507107cae91327de00cbaed7d499 (patch)
tree2839a6d8d4e66a3e7a853f82bacb93dfc05301d5 /public/bash-arrays.md
parent6b98f3267edc4a003ff0e42794cf29fe2949dc80 (diff)
Touch up the styles
Diffstat (limited to 'public/bash-arrays.md')
-rw-r--r--public/bash-arrays.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/bash-arrays.md b/public/bash-arrays.md
index 0589726..cbbd4c4 100644
--- a/public/bash-arrays.md
+++ b/public/bash-arrays.md
@@ -350,7 +350,8 @@ an array is when you didn't want an array, but it's what you get
path_ls() {
local dirs
IFS=: dirs=($@) # The odd-ball time that it needs to be unquoted
- find -L "${dirs[@]}" -maxdepth 1 -type f -executable -printf '%f\n' 2>/dev/null | sort -u
+ find -L "${dirs[@]}" -maxdepth 1 -type f -executable \
+ -printf '%f\n' 2>/dev/null | sort -u
}
Logically, there shouldn't be multiple arguments, just a single