Search Results

Search: Posts Made By: Abhik
1,551
Posted By Abhik
awk is reaing the file only once..PLZ help
This script needs to find the uniq values.
but only the 1st 10 are being shown...the next 10 are fairly neglected


#!/bin/bash
exec<test.dat
x=10
value=0
while [ $value -le 1000 ]
do...
5,371
Posted By Abhik
thanks guys
Thanks a lot.
for the posts.. they do work :)

---------- Post updated at 11:47 AM ---------- Previous update was at 11:34 AM ----------

@rdcwayx
Can u please explain your script.?
I am not...
5,371
Posted By Abhik
as 921!=817 and 342!=562.. difference is 4
as 921!=817 and 342!=562..
difference is 4
5,371
Posted By Abhik
Thanks a ton
Thanks for the solution.. Using ur script, i am getting a wrong difference result when comparing with different length columns...
Can u pls explain the above script as i am new to awk
5,371
Posted By Abhik
To count distinct fields in a row
I have . dat file which contains data in a specific format:
0 3 892 921 342
1 3 921 342 543
2 4 817 562 718 765
3 3 819 562 717 761

i need to...
Showing results 1 to 5 of 5

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