Search Results

Search: Posts Made By: kbuttz
3,166
Posted By kbuttz
Hi The 1st part of the command still gives...
Hi

The 1st part of the command still gives discrepencies

When I run this sdiff file1 file2 | tr -d "[\t ]" | the end of my file looks like this

26250326~-1782.25|26253872~434.06...
3,166
Posted By kbuttz
The above partially works...if i write it like...
The above partially works...if i write it like this:

sdiff test1 test2 | awk -F"~" '{if ($1=$3) print $1"~"$2"~"$4}'

I get an output similar to this..

45194.92~30993.55 ...
3,166
Posted By kbuttz
Ideally I would like to compare $fname-yday to...
Ideally I would like to compare $fname-yday to $fname-today based on the trade id....and have my output file as the tradeId (only if it is in both files) and the corresponding col2 values from both...
3,166
Posted By kbuttz
sdiff discrepancies
Hi All

I have two large (similar) files that have a unique number in the first column...(the trade id) and then a value for that trade in the second column...delimited by "~". Here is a snippet...
Showing results 1 to 4 of 4

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