chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51dd082
)
firefox/explode-stylus: Suppress a final blank line in output sections.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 19 Jun 2020 09:16:18 +0000
(10:16 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 19 Jun 2020 09:17:38 +0000
(10:17 +0100)
firefox/explode-stylus
patch
|
blob
|
blame
|
history
diff --git
a/firefox/explode-stylus
b/firefox/explode-stylus
index 6195a3af9e8ce3ee22ff41d3e4f0a1b6f178b069..1b20b83992938b0ac825c6d5c17effe5b63a8101 100755
(executable)
--- a/
firefox/explode-stylus
+++ b/
firefox/explode-stylus
@@
-18,6
+18,7
@@
for my $e (@$js) {
next KEY if $k eq "code";
print $fh "/*@ $k: ", join(", ", $s->{$k}->@*), " */\n";
}
+ $s->{code} =~ s/\n$//;
print $fh $s->{code}, "\n";
print $fh "/*\@END*/\n";
}