Chet Ramey wrote in
 <ced8e10a-fa33-4c93-9394-a64616914...@case.edu>:
 |On 1/12/25 6:25 PM, Steffen Nurpmeso wrote:
 |
 |> Should be doable for bash in the "no-argument" case, which
 |> currently works though POSIX requires at least one argument:
 |
 |If `read' isn't supplied any variable name arguments, bash assigns the
 |unmodified line, without any trailing delimiter, to REPLY. This is long-
 |standing documented behavior.

Ah.  I did not know that.  I try to avoid any non-portable thing.
(But only to note it also worked in --posix mode.)

 --End of <ced8e10a-fa33-4c93-9394-a64616914...@case.edu>

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
|
|In Fall and Winter, feel "The Dropbear Bard"s pint(er).
|
|The banded bear
|without a care,
|Banged on himself for e'er and e'er
|
|Farewell, dear collar bear

Reply via email to