fork(2) download
  1. #!/bin/bash
  2. s='1|2|3|4|
  3. 5|6|7|8|
  4. 9|10|11|12|'
  5. sed -E 's/[^|]+/"&"/g' <<< "$s"
Success #stdin #stdout 0s 5004KB
stdin
Standard input is empty
stdout
"1"|"2"|"3"|"4"|
"5"|"6"|"7"|"8"|
"9"|"10"|"11"|"12"|