Hello, I wonder if anybody can help. I have a large awk program which outputs a list of characters with any number of null spaces between them follwed by a varying number of null spaces., I need to format the output so as to just show the field without the trailing spaces.
For example, I may...
Hello, I wonder if anybody can help? Below is a simple command to print a mathematical equation giving the correct return:-
> echo "a" | awk '{ print(70.57 * 100) }'
7057
If I try and format this using a decimal integer I get the wrong return:-
echo "a" | awk '{...
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.