|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Andrey Gryaznov 2:5020/400 26 Jun 2002 03:12:29 To : All Subject : bash bugs --------------------------------------------------------------------------------
Привет, All
Вот, у меня сnews, однако, и был такой тред здесь... Cтало интересно
> Странно. Дело в том, что bash просто напросто не совместим с sh
> Подробностей не помню, кому интересно - какие-то из
> с-news'овских скриптов
> выполняются bash'ем неправильно... Перебрав имеющиеся *sh, я
> остановился на zsh, как единственном совместимом :)
> Stanislav Latishko
=================================================================
John Paul Morrison
11/23/1994 12:05:04
Is this really a C-news bug or a Bash bug?
feeds it to system(). The command has input
redirection before the program name, i.e. it is of the form
< /etc/passwd (cat)
Bash gives an error for this command. I changed
relaynews to generate the conventional syntax instead of
trying to figure out why bash couldn`t parse " <
/etc/passwd (cat)".
Chet Ramey
11/23/1994 13:38:18
Is this really a C-news bug or a Bash bug?
It`s a difference of opinion. :-)
It`s not a bash bug. The Posix.2 standard, which bash uses as its
grammar spec, makes that construct a syntax error. Redirections
may precede only `simple` commands.
========================================
Счастливо, Андрей
--
Отправлено через сервер Форумы@mail.ru - http://talk.mail.ru
--- ifmail v.2.15dev5
* Origin: Debian GNU/Linux site (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/28955907b844.html, оценка из 5, голосов 10
|