aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-07-11 23:06:57 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-07-11 23:14:34 +0200
commit2ebb310cc77f8b53b1a427724876dd65363d1c07 (patch)
treeb723b0c23b2964e524a41730ef689e7963659773 /global-functions.rsc
parente61ebd4dc71ce462112bc26adc60399e0c66be73 (diff)
global-functions: $PrettyPrint: use :tocrlf
Diffstat (limited to 'global-functions.rsc')
-rw-r--r--global-functions.rsc6
1 files changed, 1 insertions, 5 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index 44b3abe..3c653c7 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -913,11 +913,7 @@
# print lines with trailing carriage return
:set PrettyPrint do={
- :local Input [ :tostr $1 ];
-
- :global Unix2Dos;
-
- :put [ $Unix2Dos $Input ];
+ :put [ :tocrlf [ :tostr $1 ] ];
}
# strip protocol from from url string