Search Results

Search: Posts Made By: user_prady
1,561
Posted By user_prady
help need in filtering data
Hello Gurus,

Please help me out of the problem. I ve a input file as below

input clock;
input a; //reset all
input [9:0] b;

//input comment
output c;
output d;
output...
1,770
Posted By user_prady
Help need to filter data
If the problem is not clear pls let me know..

Thanks in advance.

Regards,
prady
1,770
Posted By user_prady
filter input & outputs to another file
Hello All,

I am stuck with the follwing problem , pls give me some advice..

Input file:

input clock;
input reset; \\reset all
input [9:0] yuv;

//input comment
output sur;...
19,748
Posted By user_prady
Oh sorry I m not aware of the second page .. ...
Oh sorry I m not aware of the second page ..

Anyway thanks a lot ..
Thats the output I really want ..


Thanks & Rgds,
user_prady
19,748
Posted By user_prady
Oh oh . I think I am misguiding you all . ...
Oh oh . I think I am misguiding you all .

Desired Output :

9 : TXADDR : 00000000
9 : RXADDR : 00000001
65 : TXDATA 0000000000000011
65 : RXDATA 0000000000000011
83 : TXDATA 0000000000000012...
19,748
Posted By user_prady
Thanks for your reply But I want to sort reverse...
Thanks for your reply But I want to sort reverse for the second key ..
19,748
Posted By user_prady
Thanks for your kind replies , but both the...
Thanks for your kind replies , but both the command outputs the same as
the command

sort -n file1 file2 > file3


I want to reverse the third column so that TXADDR/TXDATA comes before...
19,748
Posted By user_prady
merge two files in ascending order
Hello Friends,

I want to merge two files in ascending order on the first field. And if the first field matches sort on 3rd field i.e, TXADDR should come ahead of RXADDR .

file1

9 :...
4,482
Posted By user_prady
Thanks for your reply & valuable time . ...
Thanks for your reply & valuable time .

Today morning I tried to reset the index and I changed to txindex= 0, it throws me error but when it should be txindex[txaddr] = 0 as you suggested with...
4,482
Posted By user_prady
Thanks for your reply & valuable time . ...
Thanks for your reply & valuable time .

Today morning I tried to reset the index . When I changed to txindex= 0, it throws me error but it should be txindex[txaddr] = 0 as you suggested & with...
4,482
Posted By user_prady
my friend Its seems to be not working for this...
my friend Its seems to be not working for this case

INFILE


120 : TXADDR : 00000000
240 : TXDATA 0000000000000011
280 : TXDATA 0000000000000012
320 : TXDATA ...
4,594
Posted By user_prady
Awk multidimensional Array
Hello Experts,,

Can anybody give me a brief idea what is following bold letter statement is for!!
what is the term called so that I can google for it..

It seems to be an array inside...
4,482
Posted By user_prady
Thanks genious Annihilannic .. Really appriciate...
Thanks genious Annihilannic .. Really appriciate your logic..

Can You Please give a brief idea what does this statement for

txdata[txaddr,++txindex[txaddr]]

I guess this is a 2D array but...
4,482
Posted By user_prady
Thanks for your reply..& Sorry If I misguided...
Thanks for your reply..& Sorry If I misguided you..

No its not like that data is not recevied until unless I specify to read exclusively . Think of as a RAM( Read access Memory)

I writes to RAM...
4,482
Posted By user_prady
need a logic to start with awk/ sh
Hi Friends,

I got stuck where to start with ..

I ve a input file like below. where I want to compare write data with my read data .. The problem is that the read data should be compared...
18,565
Posted By user_prady
I tried with the following code it seems to...
I tried with the following code it seems to working fine.
I mean ./try.sh 4 it gives me 4 what I expect.


try.sh
#!/usr/bin/ksh
nawk -v a=$1 '{
print a
}
' input_file | read a
echo $a

...
18,565
Posted By user_prady
Thank a lot for the link .. I ll go through it.....
Thank a lot for the link .. I ll go through it..

:)
18,565
Posted By user_prady
pass variable from awk to shell script
Hello Experts,

Actually I was searching for a solution here in this forum , but didn't get what exactly I want . Is this possible to do in awk ?

I am trying to do some thing like...
22,801
Posted By user_prady
Thanks a lot again.. Yeah you are right It...
Thanks a lot again..
Yeah you are right It prints , but my problem here is when the pattern *Main start found I need that no.
But in the above code I got the number before *Main End Pattern.
...
22,801
Posted By user_prady
Yes Kevin . I am pretty close to my goal but one...
Yes Kevin . I am pretty close to my goal but one thing that I want the number (ie, 000005) when *Main Start pattern found .

Regards,
user_prady
22,801
Posted By user_prady
Thanks Kevin. I read your previous article...
Thanks Kevin.

I read your previous article how to fix the problem on the module issue

Perl - read a line from a file and writing to the same line in the file...
22,801
Posted By user_prady
Thanks Kevin for your time and kind .. But...
Thanks Kevin for your time and kind ..

But when I am trying to use the module Tie::File I am getting the follwing error.

Can't locate Tie/File.pm in @INC (@INC contains:...
22,801
Posted By user_prady
got one way
At last I got one way to do it.


my @buffer;
$#buffer = 1;
open(IN, $file)|| die("Could not open file");

while(<IN>){
push@buffer => $_;
shift@buffer;
}
close(IN);...
22,801
Posted By user_prady
how to do it in perl
I tried almost all way using next , redo and last command in perl , But I can't get these syntax correctly in perl. I know its easy ,but still I cant find the efficient way using while and next...
22,801
Posted By user_prady
Thanks a Lot Era for your kindness..I ll try your...
Thanks a Lot Era for your kindness..I ll try your mentioned way..
Showing results 1 to 25 of 163

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