[GRASS-SVN] r51629 - grass/branches/develbranch_6/scripts/r.in.wms
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 15 16:43:11 EDT 2012
Author: hamish
Date: 2012-05-15 13:43:10 -0700 (Tue, 15 May 2012)
New Revision: 51629
Modified:
grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms
Log:
another try to fix for layer parsing
Modified: grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms
===================================================================
--- grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms 2012-05-15 20:41:32 UTC (rev 51628)
+++ grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms 2012-05-15 20:43:10 UTC (rev 51629)
@@ -389,7 +389,9 @@
if [ -x "`which xml2`" ] ; then
cat "$CAPABILITIES_FILE" | xml2 | \
grep "Layer/SRS=\|Layer/Name=\|Layer/Title=\|Style/Name=\|Style/Title=\|Layer/Abstract=" | \
- sed -e "s/.*Layer\\/Name=/ LAYER: /" \
+ sed -e 's|.*Layer/Name=|\
+\
+ LAYER: |' \
-e "s/.*Layer\\/SRS=/ SRS: /" \
-e "s/.*Layer\\/Title=/ Title: /" \
-e "s/.*Layer\\/Abstract=/ |/" \
More information about the grass-commit
mailing list