Answer by Sergiy Kolodyazhnyy for How to make a double-newline?
Prefer high level and portable tools for special formatting instead of such tools as echo. Here I am using AWK to print the ever decreasing substring that was provided with here-string . Note that I...
View ArticleAnswer by Colin Ian King for How to make a double-newline?
You need to use the -e "enable interpretation of backslash escapes" option with the \n to force newlinesecho -e "lollipop\nlollipo\nlollip\nlolli\nloll\nlol\nlo\nl"
View ArticleAnswer by Eddie Dunn for How to make a double-newline?
Use printf instead:printf "lollipop\nlollipo\nlollip\nlolli\nloll\nlol\nlo\nl"
View ArticleHow to make a double-newline?
I want to print in the Terminal something like this:lollipoplollipololliplollilolllollolHowever if i do -n twice i get a newline and then it just prints "-n" if i use echo. How can i avoid this from...
View Article
More Pages to Explore .....