Skip to main content
deleted 40 characters in body
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 238

I am working towards writing a bash script that contains a variable with a long string value. When I split the string into multiple lines it is throwing error. Can you please suggest on howHow to split the string into multiple lines and assigned to a variable?

Thanks Kamal

I am working towards writing a bash script that contains a variable with a long string value. When I split the string into multiple lines it is throwing error. Can you please suggest on how to split the string into multiple lines and assigned to a variable?

Thanks Kamal

I am working towards writing a bash script that contains a variable with a long string value. When I split the string into multiple lines it is throwing error. How to split the string into multiple lines and assigned to a variable?

edited tags
Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 265
Source Link

How to break a long string into multiple lines assigned to a variable in linux bash script

I am working towards writing a bash script that contains a variable with a long string value. When I split the string into multiple lines it is throwing error. Can you please suggest on how to split the string into multiple lines and assigned to a variable?

Thanks Kamal