Need to edge out the competition for your dream job? Train for certifications today.
Experts Exchange Solution brought to you by
"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.
[root@broken ~]# cat qqq
[root@broken ~]# sed 's#$test#<b>$test</b>#g' qqq
Open in new window
# echo $0
# sed 's#$test#<b>$test</b>#g' qqq
$ sed 's#$test#<b>$test</b>#g' tt
$ uname -a
SunOS phxdns1 5.10 Generic_118822-26 sun4v sparc SUNW,Sun-Fire-T1000
$ echo $0
[root@broken ~]# cat kshsed
sed 's#$test#<b>$test</b>#g' /tmp/qqq
[root@broken ~]# ./kshsed
$ cat kshsed
sed 's#$test#<b>$test</b>#g' /tmp/tt
sed 's#$test#<b>$test</b>#g' /tmp/file
[root@broken ~]# cat /tmp/file
118 ~/bin >ksh
# echo "Help me with this" | sed -e "s+$help+<b>&</b>+g"
Help <b>me</b> with this
Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.
# Put field 6 into our oraerror variable
oraerror=`cut -d'|' -f6 test.txt`
# Load the oraerror as our command arguments
set - $oraerror
# Rotate through these...
while [ "$1" ]; do
case $1 in
# Found all ORA error match strings
# Echo a new line if we need too...
[ "$error" ] && echo
echo -n "<b>$1</b>"
# Don't send output unless we've already seen an Ora Error
[ "$error" ] && echo -n " $1"
# Throw one extra new line to finish our last ora message.
[ "$error" ] && echo
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment