The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Problem in shell script
.
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
:
Problem in shell script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
11-22-2008
rc7
Registered User
Join Date: Aug 2008
Posts: 4
Bash has a built-in operator
-ne
for integer comparison. I would re-write the code for checking number of argument as:
if [ $# -ne 2 ]; then
rc7
View Public Profile
Find all posts by rc7
Find rc7's past nominations received
Find rc7's present nominations given