fork(1) download
  1. #!/bin/bash
  2. s='aa<>bb<cc>vv<<gg>>h'
  3.  
  4. sed 's/<\+[^>]*>\+//g' <<< "$s"
  5. sed 's/<\{1,\}[^>]*>\{1,\}//g' <<< "$s"
  6. sed -E 's/<+[^>]*>+//g' <<< "$s"
Success #stdin #stdout 0s 4300KB
stdin
Standard input is empty
stdout
aabbvvh
aabbvvh
aabbvvh