okay so i know of grep -rhi, which extrats the line if string is found, but I want to copy the entire file so for example,
now if I used grep -rhi "#new", it would extract only
where as I want all the contents within the file including
How would I do this?
Of course the .txt file must contain #new in either one of its lines.