![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| while loop problem | aliahsan81 | Shell Programming and Scripting | 2 | 04-09-2009 02:05 PM |
| Problem with while loop | Pablo_beezo | Shell Programming and Scripting | 2 | 02-02-2009 09:10 AM |
| loop problem | lexi | UNIX for Dummies Questions & Answers | 1 | 10-07-2008 04:59 PM |
| for loop problem | mdap | Shell Programming and Scripting | 3 | 08-16-2008 02:27 PM |
| Problem in For Loop | The Observer | Shell Programming and Scripting | 2 | 05-28-2008 03:43 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
while loop problem
Code:
#!/bin/sh
clear
befehle=( whoami ls who finger ps )
eingabe=5
while [ $eingabe > 4 ]
do
# for i in 0 1 2 3 4
# do
# echo $i - ${befehle[$i]}
#done
echo "you're still in the loop"
read eingabe
echo "Input:" $eingabe
done
Hello, I am having a problem with this loop. WHATEVER I give in as an input, it does not exit the loop :s Last edited by pludi; 11-03-2009 at 05:45 AM.. Reason: code tags, please... |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|