Help for this page
$ grep 'some-pattern' <input-file >output-file
system("grep 'some-pattern' <input-file >output-file") and die "Error +executing grep";