The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-06-2008
Kevinfine Kevinfine is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 1
Confussed as hell


Last edited by Kevinfine; 07-07-2008 at 07:43 AM..
  #2 (permalink)  
Old 07-06-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,754
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
This requirement sounds like homework - against our rules. If this is, and your teacher sees this, he will know it is plagiarized-- assuming he knows any shell code.

We do not do homework for you here.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0