On Wed, 13 Nov 2024, Steffen Nurpmeso steffen-at-sdaoden.eu |s-nail| wrote:

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

Great.  Thank you very much!

Stephen Isard

Reply via email to