N Ngọc Trâm New member Jan 12, 2022 #1 How do I print multiple lines in bash? Answer How to print multiple line string on bash String literal. String Literal. text = ” First Line. Second Line. Third Line. “ Use cat. cat. text = $(cat << EOF. First Line. Second Line. Third Line. EOF. )
How do I print multiple lines in bash? Answer How to print multiple line string on bash String literal. String Literal. text = ” First Line. Second Line. Third Line. “ Use cat. cat. text = $(cat << EOF. First Line. Second Line. Third Line. EOF. )