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. |