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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

android - IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling -