Quantcast
Channel: How to make a double-newline? - Ask Ubuntu
Browsing latest articles
Browse All 4 View Live

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 Article



Answer 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 Article

Answer by Eddie Dunn for How to make a double-newline?

Use printf instead:printf "lollipop\nlollipo\nlollip\nlolli\nloll\nlol\nlo\nl"

View Article

How 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
Browsing latest articles
Browse All 4 View Live




Latest Images