echo 'Oops! something went wrong' | sed -e 's/^/ERROR /' echo 'Oops! something went wrong' | awk '$0="ERROR "$0'
echo 'Oops! something went wrong' | sed -e 's/$/ ERROR/' echo 'Oops! something went wrong' | awk '$0=$0" ERROR"'