| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function render_checkSvgAbsref { |
| |
| local FILE='' |
| local ABSPATHS='' |
| |
| |
| |
| FILE="$1" |
| |
| |
| cli_checkFiles $FILE 'f' |
| |
| |
| ABSPATHS=$(egrep '="/[a-zA-Z0-9_./-]+" ' $FILE \ |
| | sed -r "s/ /\n/g" | egrep '(sodipodi:absref|xlink:href)=' \ |
| | sed -r "s/.+=\"(\/.+)\".*/\1/" | sort | uniq) |
| |
| |
| for FILE in $ABSPATHS;do |
| cli_checkFiles $FILE |
| done |
| |
| } |