diff --git a/anduril/testing/anduril-component-docs b/anduril/testing/anduril-component-docs index 076b99a..d28a012 100755 --- a/anduril/testing/anduril-component-docs +++ b/anduril/testing/anduril-component-docs @@ -45,5 +45,5 @@ fi [ -z "$BUNDLESTRING" ] && return_error "Could not find given bundle: $search" -echo $ANDURIL_HOME/bin/anduril build-doc doc_${search} --log log_doc "$BUNDLESTRING" -t $MICROHOME/datatypes.xml -eval $ANDURIL_HOME/bin/anduril build-doc doc_${search} --log log_doc "$BUNDLESTRING" -t $MICROHOME/datatypes.xml +echo $ANDURIL_HOME/bin/anduril build-doc result_doc --log log_doc "$BUNDLESTRING" -t $MICROHOME/datatypes.xml +eval $ANDURIL_HOME/bin/anduril build-doc result_doc --log log_doc "$BUNDLESTRING" -t $MICROHOME/datatypes.xml diff --git a/qcd_function b/qcd_function index 04c5cde..5a4fa12 100644 --- a/qcd_function +++ b/qcd_function @@ -223,6 +223,22 @@ function igrep () { } +function ised () { + # Interactive sed + local args + if [ ! -f "$1" ]; then echo must give atleast one file; return 1;fi; + args="-e s/string//g" + while true + do read -e -i "$args" args + echo input files: "$@" + eval sed $args "$@" + if [ "$?" -ne 0 ] + then echo Error output | grep --color=auto ".*" + fi + done + +} + function foldermenu_prompt { [ -f .foldermenu ] && { echo -n "f:"