fork(2) download
  1. #!/bin/bash
  2. s="This is file ' PISP &FLOW'
  3. PISD.DATA.CYCLE&FLOW..ONE"
  4. sed 's/&FLOW\.\{0,1\}/001/g' <<< "$s"
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
This is file ' PISP 001'
PISD.DATA.CYCLE001.ONE