How to use Awk print out a newline character in a string ???
ylspiritdeMacBook-Pro:awk ylspirit$ ls | awk '{printf "%s\\n\n", $1}'
![](http://www.linuxcommands.site/wp-content/uploads/2019/04/awk_newline-1-1024x175.jpg)
ylspiritdeMacBook-Pro:awk ylspirit$ ls | awk '{print $1 "\\n"}'
How to use Awk print out a newline character in a string ???
ylspiritdeMacBook-Pro:awk ylspirit$ ls | awk '{printf "%s\\n\n", $1}'
ylspiritdeMacBook-Pro:awk ylspirit$ ls | awk '{print $1 "\\n"}'