Search Results

Search: Posts Made By: AKD
1,243
Posted By AKD
As I posted the o/p is in the form of (value of...
As I posted the o/p is in the form of (value of c, proportionate cumulative value of c)
means. (10, 10*1/(10*1 +20*3 + 30*2)), (20, 20*3/(10*1 +20*3 + 30*2)) , (30, 30*2/(10*1 +20*3 + 30*2))....
=>...
1,243
Posted By AKD
Search for particular tag and arrange as coordinates
Hi

I have a file whose sample contents are shown here,



1.2.3.4->2.4.2.4 a(10) b(20) c(30)
1.2.3.4->2.9.2.4 a(10) c(20)
2.3.4.3->3.6.3.2 b(40) d(50) c(20)
2.3.4.3->3.9.0.2 a(40) e(50)...
1,064
Posted By AKD
Trying to make system call results in no action
I am trying to communicate with the kernel through the /proc filesystem. I have written abc to my def module. But on doing cat cat /proc/def, I am not able to see "abc". Here is my code:

#include...
1,046
Posted By AKD
columns manipulation in different files
Hi all,

I have 3 files with data as :

1.txt
1
1
1
5

2.txt
-5
1
0
3

3.txt
0
1
0
2,661
Posted By AKD
comparing two columns from two different files
Hello,

I have two files as 1.txt and 2.txt with number as columns.

1.txt

0 53.7988
1 -30.0859
2 20.1632
3 14.2135
4 14.6366
5 -37.6258
.
.
.
31608 -8.57333
31609 -2.58554...
3,565
Posted By AKD
Dear radoulov , Thanks for your wonderful...
Dear radoulov ,

Thanks for your wonderful inputs. I was struggling to achieve this for weeks. There is a small issue (I hope). As I told that label search in 2.txt is to be unique and not like...
3,565
Posted By AKD
I am pasting bigger sample of my data file...
I am pasting bigger sample of my data file (2.txt), original file runs into 5MB data.
~b "ST_ah_2_2"
<FIRST>
6.42 2.53
<SECOND> 2
1.8 6.29
~b "ST_ah_3_6"
<FIRST> 2
6.61 1.02
<SECOND> 2
...
3,565
Posted By AKD
For 1.txt my output should be :...
For 1.txt my output should be :...
3,565
Posted By AKD
Read tags in text file
Hello Team,

I am writing a script that reads a text (say 1.txt - 2 s2 a+bb means Number State Label) file having data as:
2 s2 a+bb
3 s3 a+bb
4 s4 a+bb

And there is another text file (say...
Showing results 1 to 9 of 9

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