Line breaking in bash script

Viewed 15987

In my company style guide it says that bash scripts cannot be longer than 80 lines. So I have this gigantic sed substitution over twice as long. How can I break it into more lines so that it still works? I have

sed -i s/AAAAA...AAA/BBBBB...BBB/g

And I want something like

sed -i s/AAAAA...AAA/
BBBBB...BBB/g

still having the same effect.

3 Answers
Related