From: "Andrew Borodin" <aborodin@vmail.ru>
To: Vladimir Karpinsky <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] bash
Date: Fri Feb 8 11:41:00 2002
Message-ID: <3C63B8A3.25054.B0288A@localhost> (raw)
In-Reply-To: <1885704841.20020208112649@beep.ru>
On 8 Feb 2002 at 11:26, Vladimir Karpinsky wrote:
> Здравствуйте,
>
> тут столкнулся со следующей проблемой:
>
> [user@host:~]$ echo $((07+1))
> 8
> [user@host:~]$ echo $((08+1))
> bash: 08: value too great for base (error token is "08")
>
> Аналогично и для 09. Чем эти 08 и 09 принципиально отличаются от
> 01..07? Как с эти бороться?
>
В Си, если число начинается с 0, то оно воспринимается как
восьмеричное, и все цифры в нем должны быть от 0 до 7.
С уважением,
А. Бородин.
--
В зарослях сорной травы,
Смотрите, какие прекрасные
Бабочки родились!
Исса
prev parent reply other threads:[~2002-02-08 11:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-08 11:22 Vladimir Karpinsky
2002-02-08 11:30 ` "Баталов Григорий"
2002-02-08 11:40 ` Re[2]: " Vladimir Karpinsky
2002-02-11 12:26 ` [mdk-re] bash Mikhail Zabaluev
2002-02-08 11:39 ` [mdk-re] bash Alexander E. Syasin
2002-02-08 12:05 ` Re[2]: " Vladimir Karpinsky
2002-02-08 12:15 ` Eugene Pazhitnov
2002-02-08 22:29 ` Re[4]: " Vladimir Karpinsky
2002-02-08 13:08 ` Re[2]: " Eugene Pazhitnov
2002-02-09 19:58 ` [mdk-re] Re: bash; date Michael Shigorin
2002-02-09 22:59 ` Vladimir Karpinsky
2002-02-08 11:41 ` Andrew Borodin [this message]
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=3C63B8A3.25054.B0288A@localhost \
--to=aborodin@vmail.ru \
--cc=mandrake-russian@altlinux.ru \
/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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git