milis/rootfs/bin/which

3 lines
62 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
#!/bin/bash
type -pa "$@" | head -n 1 ; exit ${PIPESTATUS[0]}