Graeme Geldenhuys wrote:
On 2013-02-25 23:51, Joao Morais wrote:
find -type f -executable

I know that, but I use Midnight Commander for all my file management
needs. 99% of the times it is much easier to enter my search criteria in
MC - executables being the exception (or I haven't figured out how to do
it yet in MC).

It's a bit incredible that MC can't do this, since it was pretty much written for unix.

I know that too, but I wanted something to distinguish between a Linux,
FreeBSD and Windows executable all lying in the same directory. Before,
I used .exe for Windows, and .elf for Linux. But now that I use FreeBSD
too, .elf doesn't distinguish between Linux and FreeBSD.

With the caveat also that ELF doesn't distinguish between different variants of the same processor and so on. I'm sure you knew that, but some people are wondering if significant surgery is called for.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to