1
Good morning!! I am creating a script and I need that when I do a grep on a line and do not find it it return me the parameter I searched!
grep "192.0.0.1 " /file.txt
In the.txt file it does not have the string "192.0.0.1 " I want it to return me "192.0.0.1 " for me to save in another file, I am not able to use diff because the pattern on each line in the file is different.
Thank you