Stephen Isard wrote in
<[email protected]>:
|On Wed, 13 Nov 2024, Steffen Nurpmeso steffen-at-sdaoden.eu |s-nail| wrote:
|> Stephen Isard wrote in
|> <[email protected]>:
|>|I have recently discovered the quote-fold variable, which is _almost_
|>|just what I need. Is there any way to stop it putting '\' at the line
|>|breaks that are inserted? I can see how you might sometimes want
|>|that, but most often I don't. (Yes, I know that I can pipe through
|>|sed 's/\\$//', but it's an extra step.)
|>
|> Unfortunately not.
|> I will change it and add an optional fourth argument, and if any
|> of the arguments is .. say, hyphen-minus -, then no such thing is
|> written. Does this sound sound?
|
|Thanks for the quick response, Steffen. Yes, that sounds as if it would
|do what I want.
I did it a tad differently:
If the first character is not a digit it is used as the line-
break indicator (by default reverse solidus ‘\’); if it is hy‐
phen-minus ‘-’ no symbol is produced. Thereafter one, two or
three (space separated) numeric values are expected
...
With credit to you:
https://git.sdaoden.eu/browse/s-nail.git/commit/?h=next&id=775dc18a2d2c2446596a9736aeb494c885265c36
But v14.10 will not work out this year, there is so much more to
do, and whereas not all things which are in TODO will be in
v14.10[.0], quite a bit has to be there.
(P.S.: the [next] branch is currently unstable because of the
(BWDIC!) shexp: support "$@$@"; support "word splitting"..
commit which implements shell field splitting, or, better,
currently does not. I should move it away from [next], but am
still hoping to finally find the time to get that merde right.)
(P.P.S.: commit id very well unstable on [next], message is
*quote-fold*: allow symbol specification (Stephen Isard))
Ciao!!
--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)
|
|And in Fall, feel "The Dropbear Bard"s ball(s).
|
|The banded bear
|without a care,
|Banged on himself fore'er and e'er
|
|Farewell, dear collar bear