Skip to content


script for changing stroke-width
Browse files Browse the repository at this point in the history
git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Feb 28, 2006
1 parent 38e074f commit be38273
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 @@

# 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`
cp $F svg.tmp
cat svg.tmp | sed "s/stroke-width:$1/stroke-width:$2/" > $F

rm svg.tmp

0 comments on commit be38273

Please sign in to comment.