shithub: rc

Download patch

ref: 70d666b8b2056518952370965fa48ca60661470b
parent: 9a74ddef726c0e357f661d29ee3e1211c5f0de96
author: qwx <qwx@sciops.net>
date: Mon Nov 23 20:33:19 EST 2020

syncab: escape quotes (sigh)

--- a/syncab
+++ b/syncab
@@ -25,6 +25,7 @@
 		nocp["nm"] = 1
 }
 {
+	gsub("\'", "\'\'", $2)
 	if($1 in rm)
 		ls["rm"] = "''" old "/" $2 "'' " ls["rm"]
 	else if(! ($1 in nocp))