in reply to awk 2 perl oneliner
I don't find: "awk 'NR==FNR {a$1;next} $1 in a {print RS$0}' file1 RS=">" file2 > output" easy to understand.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: awk 2 perl oneliner
by zwon (Abbot) on Mar 06, 2010 at 10:53 UTC | |
by space_agent (Acolyte) on Mar 06, 2010 at 11:18 UTC |