[linux-l] Bash und utf8
Jan-Benedict Glaw
jbglaw at lug-owl.de
Mo Dez 11 16:30:32 CET 2006
On Mon, 2006-12-11 15:45:00 +0100, Olaf Radicke <olaf_rad at gmx.de> wrote:
> Ich hab hier (unter Fedora Core 6) ein Problem:
>
> Die Bash kommt mit utf8 nicht klar. Wenn ich ein simples bash-Skript schreibe
> mit erste Zeile "#!/bin/bash" und u+x und das als utf8 speichere, bekommt die
> bash eine Krise:
>
> [or at localhost src]$ ./install.sh
> bash: ./install.sh: cannot execute binary file
Mach mal:
cat ./install.sh | cut -b -10 | xxd
und schick' das Ergebnis. Könnte sein, daß Dein Editor da eine BOM
(Byte Order Mark) eingebaut hat...
MfG, JBG
--
Jan-Benedict Glaw jbglaw at lug-owl.de +49-172-7608481
Signature of: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
the second :
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigröße : 189 bytes
Beschreibung: Digital signature
URL : <https://mlists.in-berlin.de/pipermail/linux-l-mlists.in-berlin.de/attachments/20061211/83c37910/attachment.sig>
Mehr Informationen über die Mailingliste linux-l