Search Results

Search: Posts Made By: jefferj54
13,687
Posted By jefferj54
Re: Re: While loop within if statement
Hi Chubler,

Thanks for your help but I was looking for specific things. I want to maintain my "if" statements and not use "case." I also don't want a "break" in my script. I want the script to...
13,687
Posted By jefferj54
While loop within if statement
Hi,

I'm a rookie who is trying to learn this stuff. What I need help with is putting together a non complicated "while" loop within the below "if" statement. I also need the while loop to keep...
1,126
Posted By jefferj54
Re:Re: Script Reading Needed
Thanks so much. Okay.

Line 1 - good morning.
Line 2 - Enter option 1 to add.
Line 3 - option q to quit.
Line 4 - "while (loop) - Whatever is entered is not equal to q or quit.
Line 5 - do...
2,207
Posted By jefferj54
Divide by zero script
Hi,

I've been working on a few scripts and have been getting great info.
How, would I include in the below script, how I would let a user know that if they divide a SECOND number by zero, that...
1,126
Posted By jefferj54
Script reading needed
Hi,
I'm just learning so I would appreciate some understanding line by line on the while loop/case script below.

Thanks so much.

joe.


echo "Good Morning."
echo "Enter 1 to Add"
echo "or...
1,076
Posted By jefferj54
Repetitive ending of script
Hi,

I am quit satisfied with this scrtipt and really don't want to change anything but the end. I get a repetitve option when I want to "quit"
and don't know why. What am I missing? When I press...
4,819
Posted By jefferj54
Thanks...
...Thank you all. And thank you, "verdepollo." I should have thought about your suggestion.

joe.
4,819
Posted By jefferj54
Dividing by zero
Does anyone know how to include as a script maybe an "echo" warning that explains that if a user uses the second number "zero" when dividing, that the result will BE "zero."

I need, example: 5/0...
752
Posted By jefferj54
thank you
Thanks very much for your help.

joe.
752
Posted By jefferj54
Need help with "case statement" and :while loop"..
..with how to use basic arithmetic options in a case state statement and then loop them with say, a "while" loop? Please be gentle as I am definitely a newbie.

Example: I need a very simple option...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 04:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy