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

python - What's the Pythonic way to report nonfatal errors in a parser? -

sql server - Deadlock occuring in Clustered Columnstore index -

php - curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to domain.com:443 -