fork(1) download
  1. #!/bin/bash
  2. echo ' filter = [ "r|/dev/sda|" ] ' | sed -E 's:^\s*filter\s*=\s*\[\s*([^[:space:]]+)\s*\]:\1:g'
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
"r|/dev/sda|"