https://reisub.nsupdate.info/git
/
bollux.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ff9d1c
)
Normalize line endings
author
Case Duckworth
<acdw@acdw.net>
Fri, 22 May 2020 21:11:39 +0000
(16:11 -0500)
committer
Case Duckworth
<acdw@acdw.net>
Fri, 22 May 2020 21:12:09 +0000
(16:12 -0500)
bollux
patch
|
blob
|
history
diff --git
a/bollux
b/bollux
index
8026179
..
e31d37e
100755
(executable)
--- a/
bollux
+++ b/
bollux
@@
-202,7
+202,8
@@
handle() { # handle URL < RESPONSE
# display the page
display() { # display <<< STRING
- cat
+ # normalize line endings to "\n"
+ awk 'BEGIN{RS=""}{gsub("\r\n?","\n");print}'
# TODO: use less with linking and stuff
# less -R -p'^=>' +g
# lesskey: