awk command (cygwin) is giving me empty file -


i'm trying compare data 2 files using awk command (cygwin). 1 file has names of transcription factors , other file (database) has genes(rows) different cells (columns). i'm using:

awk -f, 'fnr==nr {a[$1]; next}; $1 in a' tf.csv db.csv > output.csv  

but it's gives empty file , when keep names of genes form database file works.

if same command run on terminal of linux runs perfectly.


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

javascript - Replicate keyboard event with html button -