![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| hell & mathematics | ogoy | Shell Programming and Scripting | 5 | 05-26-2008 10:58 PM |
| hell and sqlite | ogoy | Shell Programming and Scripting | 2 | 05-21-2008 12:07 AM |
| rpm hell! | knmwt15000 | UNIX for Dummies Questions & Answers | 7 | 03-27-2002 06:06 AM |
| fork()ing hell!! | theultimatechuf | High Level Programming | 16 | 02-25-2002 12:27 PM |
| negative UID/GID?!! I can see 'em but what the hell do they mean?! | hellz | UNIX for Dummies Questions & Answers | 2 | 09-07-2001 03:18 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Code:
#bin/ksh
let max=0
while true
do
echo "enter a number zero to quit \c"
read num
[[ $num -eq 0 ]] && break
if [[ $num -gt $max ]] ; then
max=$num
fi
done
[[ max -gt 0 ]] && echo $max
We do not do homework for you here. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|