How to force awk not to print a newline
In awk, you can force it to not print a newline at the end of the output by using the “ORS” variable. This variable controls the output record separator and by default, it is set to a newline character. You can set the ORS variable to an empty string to prevent awk from printing a … Read more