Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

shell keep newline at output

# You want to say
echo "$lines"

# instead of
echo $lines

# $, $() and `` remove 
 	 ...
# By "string-ing" it, it keeps them.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #shell #newline #output
ADD COMMENT
Topic
Name
5+6 =