Skip to content

Commit

Permalink
Update "AM"
Browse files Browse the repository at this point in the history
Improved the "query" (option "-q")
  • Loading branch information
ivan-hc authored Apr 4, 2022
1 parent 7a81391 commit a181da4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions APP-MANAGER
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,8 @@ case "$1" in
do
case $2 in
*) for var in $ARGS;
do grep -i -E "$ARGS" /opt/am/$arch-apps && echo "" && exit;
do grep -i -E "$2" /opt/am/$arch-apps | grep -i -E "$3" | grep -i -E "$4" | grep -i -E "$5" | grep -i -E "$6" | grep -i -E "$7" | grep -i -E "$8" | grep -i -E "$9" &&
echo "" && exit;
done
esac
shift
Expand Down Expand Up @@ -597,6 +598,6 @@ case "$1" in
fi
done
shift;;
'version'|'-v'|'--version') echo "3.0.0-2";;
'version'|'-v'|'--version') echo "3.0.1";;
*) exec /opt/am/APP-MANAGER ;;
esac

0 comments on commit a181da4

Please sign in to comment.