fork(5) download
  1. #!/bin/bash
  2.  
  3. s='Mozilla/4.5 (X1; Linux x86_64) AppleWebKit/534.34 (KHTML, Gecko) Qt/4.8.1 Safari/53'
  4. echo $s | grep -o '([^()]*)' | head -1
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
(X1; Linux x86_64)