Search Results

Search: Posts Made By: Silverlining
5,244
Posted By Silverlining
nevermind...I just added: if [ $a -le $c ]...
nevermind...I just added:

if [ $a -le $c ] && [ $a -le $d ] && [ $b -le $c ] && [ $b -le $d ]; then

below the loops

and fi before the loops end

seems to work
5,244
Posted By Silverlining
I don't understand what you mean...could you...
I don't understand what you mean...could you explain more please?
5,244
Posted By Silverlining
Complex problem about nested for loops
Hey, I'm writing this bash script that will test print me many copies of the same program but with different combos of 4 variables being between 1 and 100. Here's the code:

#! /bin/bash

x=0
...
Showing results 1 to 3 of 3

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