Commit 6e6c5f7e authored by Vitaly Lipatov's avatar Vitaly Lipatov

add tests/test_which.sh

parent 4dc6ae2a
#!/bin/sh
# support for direct run a play script
if [ -x "../bin/epm" ] ; then
export PATH="$(realpath ../bin):$PATH"
fi
print_command_path2()
{
a= type -fpP -- "$1" 2>/dev/null
}
for i in $(seq 1 100) ; do
#epm tool which which
#which which
print_command_path2 which
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment