lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ChangeLog encoding; testsuite file/s


From: Adam Tuja
Subject: Re: ChangeLog encoding; testsuite file/s
Date: Wed, 26 Jan 2022 12:06:28 +0100


Okey, okey. When you quote lines from test script is more than enough. I got it.

Last thing, for the record, if someone needed it. CRLF is actually simple and reliable to generate - I use it for years now:
```
#!/bin/awk -f
# u2d
  {sub("\r$",""); printf "%s\r\n", $0}
```
Although true I use more often, d2u:
```
#!/bin/awk -f
# d2u
  {sub("\r$",""); printf "%s\n", $0}
```
It requires `awk` which as `printf` are part of POSIX.1-2008. (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html)

Thanks for answer.
Regards
Adam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]