From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] shell.req
Date: Tue, 28 Aug 2012 01:17:38 +0400
Message-ID: <20120827211738.GA14190@altlinux.org> (raw)
In-Reply-To: <503BC835.3010707@kde.kiev.ua>
[-- Attachment #1: Type: text/plain, Size: 659 bytes --]
On Mon, Aug 27, 2012 at 10:19:17PM +0300, Denis Kuznietsov wrote:
> 27.08.2012 18:56, Alexey Tourbin пишет:
> >Копать туда, что shell syntax check у этого
> >скрипта не проходит:
> >
> >$ sh -n test.sh
> >test.sh: line 9: syntax error near unexpected token `('
> >test.sh: line 9: ` ls
> >${LABEL}-+([0-9a-f])-switch-port:${p}-slot:+([0-9]) \'
> >
> >Соответственно, rpm не дает запаковать
> >этот скрипт в абсолютно
> >неработающем виде, есть считается, что
> >это /bin/sh или /bin/bash скрипт.
> Да это баш. подозреваю что может даже 4-ка
Нет, вышепроцитированное не укладывается в синтаксис bash 4-й версии.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-08-27 21:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-27 13:39 Denis Kuznetsov
2012-08-27 15:56 ` Alexey Tourbin
2012-08-27 19:19 ` Denis Kuznietsov
2012-08-27 21:17 ` Dmitry V. Levin [this message]
2012-08-28 6:46 ` [sisyphus] bash Alexey Tourbin
2012-08-28 7:14 ` Denis Kuznetsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120827211738.GA14190@altlinux.org \
--to=ldv@altlinux.org \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git