Introduction
Introduction Statistics Contact Development Disclaimer Help
fix \r\n as plain \n - ics2txt - convert icalendar .ics file to plain text
git clone git://bitreich.org/ics2txt git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws…
Log
Files
Refs
Tags
README
---
commit 90e6c1b1e36c4165ea9a20fa1c9fae85bb5152ec
parent 24985c575e833254adb79215584947a601569ea1
Author: Josuah Demangeon <[email protected]>
Date: Thu, 25 Jun 2020 21:15:26 +0200
fix \r\n as plain \n
Diffstat:
M ics2tsv | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/ics2tsv b/ics2tsv
@@ -71,6 +71,10 @@ BEGIN {
printf("\n")
}
+{
+ gsub("\r", "")
+}
+
/^ / {
ev[type] = ev[type] substr($0, 2, length($0) - 1)
next
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.