Gentoo Archives: gentoo-user

From: "Ста Деюс" <sthu.deus@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Why bash script, that works in "Debian", does not work on "Gentoo" install CD?
Date: Sat, 29 Jul 2017 11:27:05
Message-Id: 20170729112659.0581B4E6EF7@mail.openmailbox.org
In Reply to: Re: [gentoo-user] Why bash script, that works in "Debian", does not work on "Gentoo" install CD? by Neil Bothwick
1 Hi, Neil.
2
3
4 On Fri, 28 Jul 2017 21:43:53 +0100, you wrote:
5
6 > > How do you know that the contents of the script are not relevant
7 > > when you
8 > don't know what the problem is? It is also useful to know the exact
9
10 Mathematics (mother of computers) answers: 1+1=2. -- Meaning: same
11 script w/ the same bash gets same execution.
12
13 > version of bash in use on each system. There are subtle differences,
14 > and bugs, between bash versions. Your script may be tripping up on
15 > one of these.
16
17 Alright. Here is an example of the problematic line from the point
18 of view of "Gentoo's" bash:
19
20 read 'Enter device (like /dev/sd(a1,b1,...): ' device
21
22 Until i remove the brackets, "Gentoo's" bash keeps error messaging.
23
24
25 Thank you for your time,
26 Sthu.

Replies