Search Results

Search: Posts Made By: JamesT
5,067
Posted By Chirel
Hi You have empty lines in the files that's...
Hi

You have empty lines in the files that's why you have comma in the "wrong" place.
To add the count and have the output you want change the code to

perl -lane '$c{"$F[4] $F[5]"}++;...
5,067
Posted By balajesuri
Something like this: $ cat file[123] File1 xx...
Something like this:
$ cat file[123]
File1 xx xx xx aab rrt xx
File1 xx xx xx ccd bbt xx
File1 xx xx xx ggt iir xx
File2 xx xx xx ggt iir xx
File2 xx xx xx ccd bbt xx
File3 xx xx xx aab rrt xx...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy