Gentoo Archives: gentoo-user

From: "Ста Деюс" <sthu.deus@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Why bash script, that works in "Debian", does not work on "Gentoo" install CD?
Date: Sun, 30 Jul 2017 10:20:32
Message-Id: 20170730102019.01F5C4E3ACD@mail.openmailbox.org
In Reply to: [gentoo-user] Re: Why bash script, that works in "Debian", does not work on "Gentoo" install CD? by Ian Zimmerman
1 Hi, Ian.
2
3
4 On Sat, 29 Jul 2017 10:37:49 -0700, among other, you wrote:
5
6 > > PROMPT='Enter device (like /dev/sd(a1,b1,...): '
7 > read -p $PROMPT device
8
9 On "Debian" it does not work:
10
11 Entera1
12 ./об: строка 6: read: «(like»: это недопустимый идентификатор
13
14 > To the OP: How do you run the script? Are you sure it is bash that
15 > executes it? Are you aware of the fact that /bin/sh on Debian is dash
16 > by default?
17
18 Script contains
19
20 #!/bin/bash
21
22 as first line. -- So it does not matter what is sh on "Debian".
23
24
25 Thank you for your time,
26 Sthu.