[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Read Prompt Width Miscalculation (Non-Printing Characters)
From: |
Chet Ramey |
Subject: |
Re: Read Prompt Width Miscalculation (Non-Printing Characters) |
Date: |
Thu, 29 Dec 2022 11:48:40 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 |
On 12/29/22 5:37 AM, The Administrator wrote:
... or you can write your prompt string as you would write PS1 and use
the ${word@P} expansion when you pass it as an argument to `read'
(preferred).
This is new to me. Thank you.
Should I write a patch for the man page?
The parameter transformations are already documented.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/