Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

break line bash

# --------------------------------------------------------------------------------- #
# 	Para utilizar saltos de linea en la orden echo utilizar la opción "-e" y 		#
# 	todo el texto entre comillas dobles. El salto de linea se representa como "
"  #
# --------------------------------------------------------------------------------- #
# 	To use line breaks in the echo command use the "-e" option and 					#
#	enclose all text in double quotes. The line break is represented as "-e". 		#
# --------------------------------------------------------------------------------- #
##################################### EXAMPLE #######################################

echo -e "
 testing line breaks with 
 the echo command
"

########### OUTPUT #########
| --------------------------------- |
|						            |
| testing line breaks with 			|
| the echo command		   			|
|						   			|
| --------------------------------- |
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #break #line #bash
ADD COMMENT
Topic
Name
7+1 =