How to check whether a particular string contains dot [.] or not?
Here I can not use grep as the string is not in a file. I will get this string from user input
Thanks,
How to check whether a particular string contains dot [.] or not?
Here I can not use grep as the string is not in a file. I will get this string from user input
Thanks,
read INPUT
echo $INPUT | grep "\."
Thanks, it works as you said.