I want to use \"awk\" or \"sed\" to print all the lines that start with comm= from the file filex, Note that each line contains \"comm=somthing\">
comm=
filex
Here's an approach using grep:
grep -o '\'
This treats a word as consisting of alphanumeric characters; extend the character class as needed.