Skip to content
Permalink
Browse files
script for changing stroke-width
git-svn-id: http://svn.osgeo.org/qgis/trunk@4919 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Feb 28, 2006
1 parent 38e074f commit be382730fe6fc72cbb362815c9c5abe4ce766653
Showing with 14 additions and 0 deletions.
  1. +14 −0 src/plugins/grass/modules/chstroke
@@ -0,0 +1,14 @@
#!/bin/bash

# Globaly change given value of stroke-width parameter in SVG files
# to a new value

# Parameters: old_width new_width

for F in `ls *.svg`
do
cp $F svg.tmp
cat svg.tmp | sed "s/stroke-width:$1/stroke-width:$2/" > $F
done

rm svg.tmp

0 comments on commit be38273

Please sign in to comment.