From 3d172e4037b6507107cae91327de00cbaed7d499 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 26 Apr 2014 12:36:53 -0400 Subject: Touch up the styles --- public/bash-arrays.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'public/bash-arrays.md') 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 -- cgit v1.2.3