mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-22 20:04:26 +02:00
global-functions: $PrettyPrint: use :tocrlf
This commit is contained in:
parent
8074305b92
commit
8f75d542f3
1 changed files with 1 additions and 5 deletions
|
@ -909,11 +909,7 @@
|
||||||
|
|
||||||
# print lines with trailing carriage return
|
# print lines with trailing carriage return
|
||||||
:set PrettyPrint do={
|
:set PrettyPrint do={
|
||||||
:local Input [ :tostr $1 ];
|
:put [ :tocrlf [ :tostr $1 ] ];
|
||||||
|
|
||||||
:global Unix2Dos;
|
|
||||||
|
|
||||||
:put [ $Unix2Dos $Input ];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# strip protocol from from url string
|
# strip protocol from from url string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue