Good morning !! I'm creating a script and I need when I make a grep on a line and can not find it, it returns the parameter I looked for!
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 "192.0.0.1" for me to save to another file, I am not able to use diff because the default on each line in the file is different.
Thank you