포럼: ヘルプ (Thread #30336)

Incorrect character encoding (2011-09-12 02:17 by Karol #59538)

Sometimes, "yash" view displays the wrong character encoding.
Example:

sh: ELF: no such command or function


Is this a bug in the yash?

$yash -vV
Yet another shell, version 2.25
Copyright (C) 2007-2010 magicant
This is free software licensed under GNU GPL version 2.
You can modify and redistribute it, but there is NO WARRANTY.

Compiled Mar 31 2011 10:59:38
Enabled features:
* alias
* array
* dirstack
* help
* history
* lineedit
* printf/echo
* socket
* test
* ulimit

Reply to #59538×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Incorrect character encoding (2011-09-12 02:27 by Karol #59540)

Reply to #59540×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Incorrect character encoding (2011-09-12 23:12 by magicant #59555)

It seems that the shell is trying to execute a binary program as a shell script.
The shell is designed to execute a program as a shell script when it fails to execute the program normally.

So, could you check if your binary is not broken?
Reply to #59540

Reply to #59555×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login