Grep вывод для файла
# > overwrite file | >> append to new file
grep "search_string" .\current_file_name.txt >> new_file_name.txt
Lucky-Magnet
# > overwrite file | >> append to new file
grep "search_string" .\current_file_name.txt >> new_file_name.txt