cat /path/to/file | awk '{if ('/^TCF/' || '/^FSTL/' ) print $0;}' > /path/to/output.txt
Hi! This produces an empty output, however it does work on a "textedit document", but not this "Plain text document". Other than that, its no different, only that it does not work.
cat /path/to/file | awk '{if ($3=="TCF1" || $3=="FSTL7T2" || $3=="GLI3") print $0;}'
This one works fine, but I want all names starting with TCF, not only TCF1.
Please help!