fork(1) download
  1. #!/bin/bash
  2. s="This is a text. Want more? Yes! End"
  3. sed 's/[.!?]/&\n/g' <<< "$s"
  4.  
Success #stdin #stdout 0s 4380KB
stdin
Standard input is empty
stdout
This is a text.
 Want more?
 Yes!
 End