git.shiar.nl
/
sheet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
common: include from cwd to work around perl v5.26 security
[sheet.git]
/
tools
/
stripcss
1
#!/usr/bin/env perl
2
use 5.014;
3
use warnings;
4
5
while (<>) {
6
s!\s*/\*.*\*/\Z!!; # comments
7
s/^\s*//; # indentation and empty lines
8
s/\h+/ /g; # alignment
9
s/:\K\h//; # separators
10
print;
11
}