The UNIX and Linux Forums
>
Top Forums
>
UNIX for Advanced & Expert Users
Error Handling in Korn Shell scripts
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Error Handling in Korn Shell scripts
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
09-02-2005
vino
Supporter (in vino veritas)
Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
Quote:
Originally Posted by
bakunin
[code]
...
/path/to/somecommand ; RC=$?
if [ $RC -eq 0 ] ; then
print - "everything worked out fine"
else
print - "something screwed up"
fi
[code]
bakunin
I agree its only a print.. but it is against point 1 of
this
post ?
Last edited by RTM; 09-02-2005 at
09:50 AM
..
vino
View Public Profile
Find all posts by vino
Find vino's past nominations received
Find vino's present nominations given