in reply to file(1) equivalent?
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 ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: file(1) equivalent?
by Eliya (Vicar) on Jan 11, 2012 at 21:26 UTC | |
by mr.nick (Chaplain) on Jan 11, 2012 at 21:33 UTC | |
by JavaFan (Canon) on Jan 11, 2012 at 22:18 UTC | |
Re^2: file(1) equivalent?
by ikegami (Patriarch) on Jan 12, 2012 at 00:17 UTC |