Search Results

Search: Posts Made By: Jrodicon
2,814
Posted By Jrodicon
Thanks for the advice but I still couldn't get it...
Thanks for the advice but I still couldn't get it to quite do what I want it to do. I have added in a loop after some advice from a computer scientist. The updated version of the problematic section...
2,814
Posted By Jrodicon
Help with control flow in a Bash script
In my bash script I want to say "if argument 2 is anything except x, y or z, than echo this" (x y and z being words).

So my script looks like this:

if [[ $2 != {x,y,z} ]]
then
echo...
Showing results 1 to 2 of 2

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