Add consistency to variable naming, using lowercase for non-exported variables and uppercase for expoered ine. Also made some grammar fixes and removed 'short' since it's not available yet.
This commit is contained in:
parent
8f9bdfbb30
commit
405c1e7244
5 changed files with 59 additions and 80 deletions
8
what
8
what
|
|
@ -26,7 +26,7 @@
|
|||
DAISY_INTERNAL=1
|
||||
. $(dirname $(realpath $0))/daisy.source
|
||||
|
||||
PWD=/
|
||||
ALL_BINS=$(cd / && echo $PATH | sed 's/[:]/ /g' | xargs ls -A | grep -v ":" | sort | uniq)
|
||||
OUTPUT=$(printf '%s\n' "-n" $ALL_BINS | grep -i "$1")
|
||||
echo "$OUTPUT"
|
||||
pwd=/
|
||||
all_bins=$(cd / && echo $PATH | sed 's/[:]/ /g' | xargs ls -A | grep -v ":" | sort | uniq)
|
||||
output=$(printf '%s\n' "-n" $all_bins | grep -i "$1")
|
||||
echo "$output"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue