Hi, Ian.

On Sat, 29 Jul 2017 10:37:49 -0700, among other, you wrote:

> > PROMPT='Enter device (like /dev/sd(a1,b1,...): '
> read -p $PROMPT device

On "Debian" it does not work:

Entera1
./об: строка 6: read: «(like»: это недопустимый идентификатор

> To the OP: How do you run the script?  Are you sure it is bash that
> executes it?  Are you aware of the fact that /bin/sh on Debian is dash
> by default?

Script contains

#!/bin/bash

as first line. -- So it does not matter what is  sh  on "Debian".


Thank you for your time,
Sthu.

Reply via email to