How to test for a binary file

Hi guys

Is there a way to test if a file is a binary executable? (not using
perl's -B)

Thanks
hyperboogie [ Do, 31 Januar 2008 18:03 ] [ ID #1920598 ]

Re: How to test for a binary file

On Thu, 31 Jan 2008 09:03:29 -0800 (PST), hyperboogie wrote:
> Hi guys
>
> Is there a way to test if a file is a binary executable? (not using
> perl's -B)
[...]

What do you call a "binary executable"?

--
Stephane
Stephane CHAZELAS [ Do, 31 Januar 2008 18:17 ] [ ID #1920599 ]

Re: How to test for a binary file

On 2008-01-31, hyperboogie <hyperboogie [at] gmail.com> wrote:
>
>
> Hi guys
>
> Is there a way to test if a file is a binary executable? (not using
> perl's -B)
>
man file
Bill Marcum [ Do, 31 Januar 2008 23:24 ] [ ID #1921486 ]
Linux » comp.unix.shell » How to test for a binary file

Vorheriges Thema: Converting Blocks of data to Lines
Nächstes Thema: changing a password held in a file -from a script