diff options
| author | B. Watson <yalhcru@gmail.com> | 2022-03-27 12:17:33 -0400 | 
|---|---|---|
| committer | B. Watson <yalhcru@gmail.com> | 2022-03-27 12:17:33 -0400 | 
| commit | bda2441bed5f31f32b3a2abde659d15562bea0bf (patch) | |
| tree | 2338a3f7fb090eb5be02c7c9722748ca5f21fa53 /bin | |
| parent | 4dba4347f3710b152c8778ff8926faffd1e0a41b (diff) | |
| download | limnoria.slackfacts.plugins-master.tar.gz | |
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/whatis2sqlite.pl | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/whatis2sqlite.pl b/bin/whatis2sqlite.pl index b557754..b91f98d 100755 --- a/bin/whatis2sqlite.pl +++ b/bin/whatis2sqlite.pl @@ -76,9 +76,8 @@ sub make_sql {  	return if $seen{"$page^^$sect"}++; -	# N.B. we don't escape quotes here because 14.2's whatis -	# doesn't contain any double-quotes. When 15 is released, -	# better check again! +	# 15.0 has double-quotes in some descriptions. +	$desc =~ s/"/""/g;  	print <<EOF  insert into whatis values (null, "$page", "$sect", "$desc");  EOF  | 
