Search Results

Search: Posts Made By: berveglieri
3,184
Posted By MadeInGermany
checknum(){ if [[ "$1" == *[^0-9]* || "$1" !=...
checknum(){
if [[ "$1" == *[^0-9]* || "$1" != *[0-9]* ]]
then
HELP; exit 3
fi
}

w=0
c=0
while [ $# -gt 0 ]
do
case $1 in
-h|--help) VERSION; HELP; exit
;;
-w)
...
3,184
Posted By zaxxon
Put the calculation of the memory into a function...
Put the calculation of the memory into a function too. Call it only when needed - currently you call it all the time, makes no sense. It will be executed no matter what happens in the...
Showing results 1 to 2 of 2

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