I am using GNU bash, version 3.00.15(1)-release on Fedora 4. I am trying to learn the use of POSIX Classes in Bash Scripting. But I got stuck at one point while using [[:alnum:]] class.
now while I run the command " grep [[:alnum:]] file1 " (without quotes)
I get the output as
while I think it should give numbers as well alphabets in the output. Kindly let me know what I am doing wrong....
Other POSIX classes i.e. [[:alpha:]],[[:digit:]] are working fine.
Below is the URL I am referring to..