dot

packages and services management
Log | Files | Refs | README

commit 2d32e37697942a4593f123c3f07d9c647c6f8869
parent 039400b0ae405ed3698c62a2566070e8ae017466
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 23 Dec 2017 14:35:46 +0100

clean \ escapes in agenda

Diffstat:
Mbin/agenda | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/bin/agenda b/bin/agenda @@ -72,6 +72,8 @@ BEGIN { /END:VEVENT/ { gsub("[ \t]*<[a-zA-Z0-9/]*>*[ \t]*", "", event["DESCRIPTION"]); gsub("\\\\n", "\nD:", event["DESCRIPTION"]); + gsub("\\\\", "", event["DESCRIPTION"]); + gsub("\\\\", "", event["SUMMARY"]); printf("B:%d\nE:%d\nS:%s\nC:%s\nL:%s\nD:%s\n:\n", ical_date(event["DTSTART"], OFF), ical_date(event["DTEND"], OFF), event["SUMMARY"], event["CATEGORIES"], event["LOCATION"],