Skip to content
Snippets Groups Projects

keep pipes in output

Merged Hahn Axel (hahn) requested to merge react-on-pipe-in-output into master
1 file
+ 8
8
Compare changes
  • Side-by-side
  • Inline
+ 8
8
@@ -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:
Loading