I don't find: "awk 'NR==FNR {a$1;next} $1 in a {print RS$0}' file1 RS=">" file2 > output" easy to understand.
In reply to Re: awk 2 perl oneliner
by Marshall
in thread awk 2 perl oneliner
by space_agent
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |