Search Results

Search: Posts Made By: NilsMueller
18,212
Posted By NilsMueller
where do get the info which one I use??
where do get the info which one I use??
18,212
Posted By NilsMueller
yes..I have seen it ..but the problem still...
yes..I have seen it ..but the problem still remains,


nils$ sort -t\; -k2,2g sort.txt
XX10914755;0.0879836449881873e-10;1;33854866;CSMD2;T;C;I_2321282;POEA;8;43212072;43212115...
18,212
Posted By NilsMueller
No there is no error .. I copied also yours ..i...
No there is no error .. I copied also yours ..i do not know whats wrong .. is there any other function, which I can use for sorting ..I am so confused know ;(
18,212
Posted By NilsMueller
sorry I edit the text ..i think the reason is...
sorry I edit the text ..i think the reason is that i some columns are numbers and in others there are strings:

nils$ sort -t\; -k2,2g test.txt
...
18,212
Posted By NilsMueller
right sorry ..many thanks for your help ...
right sorry ..many thanks for your help

---------- Post updated at 05:03 PM ---------- Previous update was at 04:50 PM ----------

Sorry for asking again: But I tried it on my data and it does...
18,212
Posted By NilsMueller
ok thanks .. when I want another column, e.g....
ok thanks .. when I want another column, e.g. only 3 the -k,3,3g
18,212
Posted By NilsMueller
Thanks ..it works ---------- Post updated at...
Thanks ..it works

---------- Post updated at 04:38 PM ---------- Previous update was at 04:24 PM ----------

the numbers stands for the columns right? 2g = second column wtih exp. notation
18,212
Posted By NilsMueller
Sorting exponential notation
Hi,
I just want to sort my file with exponential notation. For example:


1;2;4;s
1;5e-01;4;s
1;1;4;s

I used sort -gk2, but it does not sort in the correct way. What's wrong?
Showing results 1 to 8 of 8

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