Normalize line endings

This commit is contained in:
Case Duckworth 2020-05-22 16:11:39 -05:00
parent 5ff9d1c592
commit fd0e7aee80
1 changed files with 2 additions and 1 deletions

3
bollux
View File

@ -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: