#!/bin/bash s='Mozilla/4.5 (X1; Linux x86_64) AppleWebKit/534.34 (KHTML, Gecko) Qt/4.8.1 Safari/53'echo $s | grep -o '([^()]*)' | head -1
Standard input is empty
(X1; Linux x86_64)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!