Search Results

Search: Posts Made By: cstadnyk1
4,923
Posted By cstadnyk1
need help using one variable multiple times
I apologize for the title but I am not even sure myself what to call this. I am going to use an example of a pizza delivery. I need to make an interactive script that allows users to order a certain...
2,069
Posted By cstadnyk1
Thanks
Thanks for all your help. I have figured out the solution
until echo "$TextColour" | grep -iq "^"$TextColour"$" color_names.txt
do
read -p "please re-try: " TextColour
done
2,069
Posted By cstadnyk1
This is good.....although I think it would be...
This is good.....although I think it would be easier using an until loop. You will have to edit this because i know its not going to be right but for example....
read -p "colour : " colour

until...
2,069
Posted By cstadnyk1
Thanks but that isnt what the problem is. I dont...
Thanks but that isnt what the problem is. I dont know how to loop it until the user enters a colour that is inside the color_names.txt file
2,069
Posted By cstadnyk1
need help to compare 2 files inside a loop
Basically, I have a user input a colour into a variable, and then i echo that variable into a text file. Then I need to compare those 2 files which is easy using the diff command. The thing I can not...
Showing results 1 to 5 of 5

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