Skip to content

Commit

Permalink
script for changing stroke-width
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4919 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Feb 28, 2006
1 parent 2b39dc8 commit e360de8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 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 e360de8

Please sign in to comment.