[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: script: test binary program vs shell script



Jerome BENOIT <jgmbenoit <at> mailsnare.net> writes:

> 
> I came to this solution too !
> 
> Thanks,
> Jerome
> 
> Eduardo M KALINOWSKI 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.





Reply to: