diff options
-rwxr-xr-x | bollux | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bollux b/bollux index 8026179..e31d37e 100755 --- a/bollux +++ b/bollux | |||
@@ -202,7 +202,8 @@ handle() { # handle URL < RESPONSE | |||
202 | 202 | ||
203 | # display the page | 203 | # display the page |
204 | display() { # display <<< STRING | 204 | display() { # display <<< STRING |
205 | cat | 205 | # normalize line endings to "\n" |
206 | awk 'BEGIN{RS=""}{gsub("\r\n?","\n");print}' | ||
206 | # TODO: use less with linking and stuff | 207 | # TODO: use less with linking and stuff |
207 | # less -R -p'^=>' +g | 208 | # less -R -p'^=>' +g |
208 | # lesskey: | 209 | # lesskey: |