Kevin Ponds wrote: >>> or something along those lines. Grepping fo "ELF" can also be useful. >>> > > Grepping for ELF is a dangerous way to do it! If you run the script on > itself, > it will think that it's a binary.
I think he meant grep'ing for 'ELF' in the output of the file command, not the contents of the executable. Still not a cross-platform solution, though. - Chris B -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org