I think this might work: grep Warning your_input_file >> your_output_file
Grep copies every line which contains "Warning" in "your_output_file".
I think this might work: grep Warning your_input_file >> your_output_file
Grep copies every line which contains "Warning" in "your_output_file".