I need to write a more efficient way for the code below :
Just a simplified example:
cnt=50000
while [ cnt -ne 0 ]
do
echo "aaaa" >> file1
echo "bbbb" >> file2
((cnt=cnt-1))
done
The problem I have is that the files im creating are getting bigger and bigger and the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.