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 tecadmin.net #
 
PREVIOUS NEXT
Tagged: #shell #newline #output
ADD COMMENT
Topic
Name
7+6 =