Search Results

Search: Posts Made By: va2206
3,613
Posted By va2206
Hi, Comparing two files you can use below...
Hi,

Comparing two files you can use below one..

this might help you..

awk 'FNR==NR {a[$0]++; next} a[$0]' file1 file2


Thanks
Va2206
4,047
Posted By va2206
Looks like a homework.. Thanks Sha
Looks like a homework..

Thanks
Sha
2,625
Posted By va2206
Hi, This one also can help. who | awk...
Hi,

This one also can help.

who | awk '{print $1}' | uniq
67,245
Posted By va2206
Hi, Can you please confirm that where is...
Hi,

Can you please confirm that where is single space in your file?

360200tFY10tFEB-LTFt500420t12t0
460213tFY09tFEB-LTFt500420t09t15000
460213tFY09tFEB-LTFt500420t10t15000...
4,083
Posted By va2206
Hi, The below command also is...
Hi,

The below command also is working....means without sed '$d'

sed -n '/^20/,/^20/ {p;}' ser.txt

Thanks
va2206:b:
67,245
Posted By va2206
Hi, Hope the below commands should work. ...
Hi,

Hope the below commands should work.

1.sed 's/t/\t/g' filename

2.cat filename | tr 't' '\t'

Thanks
va2206:)
21,490
Posted By va2206
Hi, Try the below command. Hope this should...
Hi,

Try the below command. Hope this should work.

awk '{print "File,",$1,$2,$3}' Source_File | sed 's/ //g' > Result_File

Thanks,
:o
Showing results 1 to 7 of 7

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