fork download
  1. #!/bin/bash
  2. s='Hello World
  3. </body>
  4. </html>'
  5. sed -z 's#</body>\n</html>##g' <<< "$s"
Success #stdin #stdout 0.01s 5312KB
stdin
Standard input is empty
stdout
Hello World