After gemini-propoesed fixes
This commit is contained in:
parent
2e31283b61
commit
83324dd0f7
11 changed files with 228 additions and 307 deletions
11
what
11
what
|
|
@ -26,7 +26,10 @@
|
|||
LD_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"
|
||||
all_bins=$(compgen -c | sort -u)
|
||||
|
||||
if [[ -n "$1" ]]; then
|
||||
echo "$all_bins" | grep -i "$1"
|
||||
else
|
||||
echo "$all_bins"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue