1 |
On 2017-07-29 18:48, Grant Edwards wrote: |
2 |
|
3 |
> > PROMPT='Enter device (like /dev/sd(a1,b1,...): ' |
4 |
> > read -p $PROMPT device |
5 |
> |
6 |
> Nit: that doesn't work quite right either. It should be |
7 |
> |
8 |
> PROMPT='Enter device (like /dev/sd(a1,b1,...): ' |
9 |
> read -p "$PROMPT" device |
10 |
> |
11 |
> or |
12 |
> |
13 |
> read -p 'Enter device (like /dev/sd(a1,b1,...): ' device |
14 |
|
15 |
Correct. All my scripts run with IFS='' so for me it does work ;-) |
16 |
|
17 |
-- |
18 |
Please don't Cc: me privately on mailing lists and Usenet, |
19 |
if you also post the followup to the list or newsgroup. |
20 |
Do obvious transformation on domain to reply privately _only_ on Usenet. |