Support .svg files
commit451f2b8b663594b90618ec3105575d0746c6d532
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 23 Jan 2009 21:10:44 +0000 (23 22:10 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 24 Jan 2009 03:51:59 +0000 (24 04:51 +0100)
treee75f8936c91c34b7122219328e8f9107ff3b718a
parent4a5586e4966b1f32f9cc9aca25f064ce69444f56
Support .svg files

This commit relies on GNU sed; as Firefox renders some .svg graphics
incorrectly except when the width is nudged to be a little bit wider,
we need to inspect every .svg file to determine the width, and add
a bit to that.

To this end, upload.sh uses GNU sed's "e" option to the s/// command:
execute the command given by the pattern space.

The command is simply upload.sh with "handle" as first parameter, and
the match as second parameter.

It is a bit of forking, but avoids the use of Perl.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
upload.sh