Actually, I am doing some assignment by follow:
1: Write a program called valid that prints "yes" if its argument is a valid shell variable name and "no" otherwise:
What I am doing is I want to find some value which includes some regular expression, such as [0-9]* by using 'grep' command. But I have no idea how to grab some value including that expression from the argument I input, since 'grep' command is basically to capture some line in the file. Any help will be really appreciated