|
||||
File indexing completed on 2024-11-16 09:01:52
0001 #!/bin/bash 0002 # change the optics debugging modes on-the-fly 0003 0004 if [ $# -ne 2 ]; then 0005 echo "USAGE: $0 [constant_name] [value]" 0006 exit 2 0007 fi 0008 compact='epic/compact/pid/drich.xml' 0009 pattern='constant.*'$1'.*value="' 0010 0011 echo "before:" 0012 grep -E $pattern $compact 0013 0014 sed -i 's;\('$pattern'\)\(.*"\);\1'$2'";' $compact 0015 0016 echo "after:" 0017 grep -E $pattern $compact 0018 0019 echo "done; now re-build epic"
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |