CYBERCULTURE
MIS
I am a beginner with bash/awk etc. I generate a number with the script below that works
1. I would like to round this number up
2. I would like to declare a variable that will have the value of the rounded up number.
can somebody please help or provide a link?thanks in advance
AWKSCRIPT=' { srand(); print rand()*10000 } '
echo | awk "$AWKSCRIPT"
1. I would like to round this number up
2. I would like to declare a variable that will have the value of the rounded up number.
can somebody please help or provide a link?thanks in advance
AWKSCRIPT=' { srand(); print rand()*10000 } '
echo | awk "$AWKSCRIPT"