Skip to content
Snippets Groups Projects
Commit 6cf6da51 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

keep pipes in output

parent c565c1f3
No related branches found
No related tags found
1 merge request!19keep pipes in output
......@@ -359,14 +359,14 @@ function processCheck(){
_echo -------- check output:
_echo $( cat "$_outfile" )
iPipes=$( sed 's#[^|]##g' "$_outfile" | grep "." | wc -L )
_echo "Pipe chars: $iPipes"
if [[ $iPipes -gt 1 ]]; then
_elog "WARNING - pipes were found in plugin output"
_elog "command was: $myFullscript $myparams"
_log "${_logPrefix} WARNING - pipes were found in plugin output"
sed -i "s#|#:#g" "$_outfile"
fi
# iPipes=$( grep -o "|" < "$_outfile" | wc -l )
# _echo "Pipe chars: $iPipes"
# if [[ $iPipes -gt 1 ]]; then
# _elog "WARNING - pipes were found in plugin output"
# _elog "command was: $myFullscript $myparams"
# _log "${_logPrefix} WARNING - pipes were found in plugin output"
# sed -i "s#|#:#g" "$_outfile"
# fi
_echo
# echo -------- extracted performance data:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment