diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-03 13:58:23 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-03 13:58:23 +1300 |
commit | 29059804f7708413843687c1764bc845d374a82d (patch) | |
tree | 25d6ff9aa0e93af8e2004ce7b23a9ef8de52df86 /man/man1/sd2u.1df | |
parent | Merge branch 'feature/sd2u-su2d-r...' into develop (diff) | |
download | dotfiles-29059804f7708413843687c1764bc845d374a82d.tar.gz dotfiles-29059804f7708413843687c1764bc845d374a82d.zip |
Remove idempotency assert for sd2u(1df)/su2d(1df)
Commit cd8e9cc applies a cleaner implementation of these tools but loses
the idempotency:
* Repeated su2d applications will result in double \r, so \r\r\n
* Repeated s2ru applications will result in an extra newline at the end
of the file, because the whole file will be interpreted as one line
However, I am OK with this, as I think of the operation as simpler and
more predictable, and I wouldn't apply it as a means to "force" a file
of unknown or various line-ending types to one type.
Diffstat (limited to 'man/man1/sd2u.1df')
-rw-r--r-- | man/man1/sd2u.1df | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/man1/sd2u.1df b/man/man1/sd2u.1df index f07ebdb9..ee00c473 100644 --- a/man/man1/sd2u.1df +++ b/man/man1/sd2u.1df @@ -13,7 +13,7 @@ program | .B sd2u .SH DESCRIPTION Applies awk(1) to change DOS \\r\\n (CRLF) line endings to UNIX \\n line -endings. Lines already in UNIX format should be unchanged. +endings. .SH SEE ALSO awk(1), su2d(1df), d2u(1df), u2d(1df) .SH AUTHOR |