fork(8) download
  1. #!/bin/bash
  2. IFS= read -r -d '' ns_log <<'EOF'
  3.   ...content...
  4. more content here
  5. EOF
  6. ns_log=${ns_log//[[:space:]]/} ## replace all whitespace with the empty string
  7. printf '%s\n' "$ns_log" ## the quotes are important!
Success #stdin #stdout 0s 5080KB
stdin
Standard input is empty
stdout
...content...morecontenthere