Which really confuses me ... why write a command-line utility that mimics another (other than for fun-n-profit)?
However, OP, you can always wrap the functionality of that script up into a function of your own to use. Though I'm a bit surprised one doesn't already exist (I didn't search).
Edit: How about File::Type?
mr.nick ...
In reply to Re: file(1) equivalent?
by mr.nick
in thread file(1) equivalent?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |