bug-bash
[Top][All Lists]
Advanced

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

cannot execute binary file vs. International language text


From: Lubos Vitek
Subject: cannot execute binary file vs. International language text
Date: Thu, 12 Jul 2001 13:52:03 +0200

Hello,

I am using GNU bash, version 1.14.7(1) on Red Hat Linux release 6.2, kernel
2.2.18 on an i686.
When I tried to create and run this script file x.sh:

$ cat x.sh
# skú¹ka komentára µ¹è»¾ýáíé
echo ¾ijem
$

I received this error message:
bash: ./x.sh: cannot execute binary file

$ file x.sh
x.sh: International language text

In other version of bash or C-shell, this script works (i.e. on RedHat 7.1 with
bash shipped with the distribution).
Also when I add a "#!/bin/bash" or "!/bin/sh" to the beginning of this script,
it works good too.

Is is a bug or a feature of this my version of bash ? Can you help me please
with this problem ?

Thank you for any suggestion.
                                Lubos Vitek.

-- 
Ing. Lubos Vitek
Linux system administrator
Lynx, spol. s r.o.
Masarykova 10
040 01 Kosice
Tel.: 055/633 55 11
Fax: 055/633 55 20
E-mail: lubos.vitek@lynx.sk
http://www.lynx.sk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]