mirror of
https://github.com/libretro/libretro-super.git
synced 2024-11-24 16:29:55 +00:00
21 lines
249 B
Bash
21 lines
249 B
Bash
# vim: set ts=3 sw=3 noet ft=sh : bash
|
|
|
|
# Lets us avoid use of wc
|
|
numwords() {
|
|
echo "$#"
|
|
}
|
|
|
|
find_tool() {
|
|
while [ -n "$1" ]; do
|
|
if [ -n "$1" ] && command -v "$1" > /dev/null; then
|
|
echo "$1"
|
|
return
|
|
fi
|
|
shift
|
|
done
|
|
}
|
|
|
|
do_nothing() {
|
|
:
|
|
}
|