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