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]>: |>|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! weeeeellll, hmhm, $ mailx -Rf -Smta=test -Snosave -Squote-fold='-79' #?0!0/NONE#|:+[/home/steffen/sec.arena/mail/]mbox? r24 mailx[21449]: [emerg] Datatype overflow: SU memory bag: auto allocation request Aborted i will change it to say "if the last character is not a digit", you know, then we are backward-compatible. I hope this is also ok :)
Sure! Stephen Isard
