Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: vasanth.vadalur
3,669
Posted By vasanth.vadalur
HI, Thanks . Its is simple that i need...
HI,

Thanks .

Its is simple that i need to check input file and i need to reduce the lines by two ways.


way1: checking column2 and column4 if it is equal, i will replace those line by...
3,669
Posted By vasanth.vadalur
Find min.max value if matching columns found using AWK
Input_ File :

2 3 4 5
1 1 0 1
2 1 -1 1
2 1 3 1
3 1 4 1

6 5 6 6
6 6 6 7
6 7 6 8

5 8 6 7

Desired output :

2 3 4 5
-1 1 4 1
6 5 6 8
5 8 6 7
872
Posted By vasanth.vadalur
Hi, Thanks. With Same Logic... For...
Hi,

Thanks.

With Same Logic...
For the below input file



1 2 3 4
1.275 3 1.325 3
1.275 3 1.225 3.025
1.325 3 1.375 3
1.375 3 1.425 3
1.425 3 1.475 3
1.475 3 1.525 3...
872
Posted By vasanth.vadalur
Reducing file lines in awk
Hi,

Here i have to check first record $3 $4 with second record $1 $2 respectively. If match found, then check first record $2 == second record $4 , if it equals , then reduce two records to single...
710
Posted By vasanth.vadalur
Hi m.d.ludwig, I got your approach. ...
Hi m.d.ludwig,

I got your approach.

And instead of p, i have to use R ..thts ..it solved..


Thanks
vasanth
710
Posted By vasanth.vadalur
Hi, Thanks for your reply. But it is...
Hi,

Thanks for your reply.

But it is printing last , but required output is different one.

How to get the proper value.

Thanks
Vasanth

---------- Post updated at 05:31 AM ----------...
710
Posted By vasanth.vadalur
Adjacent row and column check in Perl
HI,

i am new to perl world.

And i am trying to compress a file, as given below procedure.


INPUT FILE:

1 1 2 1 ==> R1
2 1 3 1 ==> R2
3 1 4...
2,556
Posted By vasanth.vadalur
Hi, Your code worked.. First...
Hi,

Your code worked..


First because of improper spaces, i got into issue.

To get rid of spaces

sed "s/[' ']*//g" infile > mid_file

then your code as check_scr.awk

NR == 1 {...
2,556
Posted By vasanth.vadalur
[Solved] AWK to parse adjacent matching lines
Hi,

I have an input file like



F : 0.1 : 0.002
P : 0.3 : 0.004
P : 0.5 : 0.008
P : 0.1 : 0.005
L : 0.05 : 0.02
P: 0.1 : 0.006
P : 0.01 : 0.08
F : 0.02 : 0.08





Expected...
1,161
Posted By vasanth.vadalur
TK variable in perl
Hi Guys,

I have used some variable in Tk.

And it is not getting used of outside mainloop();

How to get the variable value out of mainloop


Thanks
Vasanth
1,161
Posted By vasanth.vadalur
Perl/Tk - user value
Hi,

I am new to perl TK world.

I am having doubt that for the below code.

How to take the value of selected and text box value from out of the loop.






#!/usr/bin/perl
use...
4,396
Posted By vasanth.vadalur
Strawberry Perl Installation problem
Anybody have answer for this issue

---------- Post updated 07-06-11 at 12:54 AM ---------- Previous update was 07-05-11 at 01:07 AM ----------

Hi,

Finally i got the solution, i need to run...
1,997
Posted By vasanth.vadalur
Check DNS server seetings from each browser
Hi,

From the browser check DNS server settings and there are options is browser network and encryption settings.

Vasanth
1,536
Posted By vasanth.vadalur
Perl/TK GUI
Hi,

I am trying to make a GUI like attached,

A list is having all values, user need to select the values from the list1.

And final selected list will be list2 and it need to be in the order...
4,396
Posted By vasanth.vadalur
Hi, Thanks, But the issue is not yet...
Hi,

Thanks, But the issue is not yet solved..

I have downlaoded TK and i want to install it locally..

The following error appears as attached..



:wall:

I tried all the way by the...
4,396
Posted By vasanth.vadalur
Strawberry perl - New TK module installation error
Hi,

I am struggling in installing TK module for strawberry perl.

I downloaded TK804 module,

extracted to a folder, kept in c:/strawberry/perl/lib path,

then from tht path

1) perl...
4,424
Posted By vasanth.vadalur
Padre strawberry
Hi,

I found Padre (strawberry ) perl .

Fine and it is good without any extra installation

Vasanth
898
Posted By vasanth.vadalur
Hi, Try this awk 'BEGIN...
Hi,

Try this





awk 'BEGIN {print "output"}
{sub(/\(/,"(")}
/^details/{a=$1 "="}
/^class/{a=a $2}
/^adress/{print a=a "=" $2}' input_file





---------- Post updated at...
4,424
Posted By vasanth.vadalur
Strawberry perl and mysql
Hi thanks..

>>perl makefile.pl

Done ---


But in next

>>dmake

it is giving error as poll.h is missing and fds not known?...etc??

---------- Post updated at 12:36 AM ----------...
4,424
Posted By vasanth.vadalur
Strawberry perl additional module for MYSQL
Hi,

Thanks. But the problem is not with MYSQL, the problem is with the addition of MYSQL Database DRIVER for strawberry perl.

It is actually an addition on module in strawberry perl.
:eek:
4,424
Posted By vasanth.vadalur
Strawberry is for windows...
Hi,

I am using windows Strawberry perl.


Thanks
Vasanth
4,424
Posted By vasanth.vadalur
Installing MySql DBD in dtrawberry perl
Hi Guys,

I am trying to install DBI and DBD-MYSQL for strawberry perl.

But i am not able to install.
:wall:



DBD-MYSQL
>> makefile.pl

gives error as

'Access denied for user...
3,777
Posted By vasanth.vadalur
If file2 has unmatching ID's print as blank
Hi,

Thanks for the replies.

Few more doubts raised, like file1 col3, does not matches with file2 col2, then the output must contain file2 as output with blank columns .

Eg:



file1:...
3,697
Posted By vasanth.vadalur
Possible by pipe
Hi,

U can use


ls-ltr


will lists the latest at top most, then you can use | and rm to remove

Vasanth
715
Posted By vasanth.vadalur
Converted repeated rows into splitted columns
Dear Friends,

I have an input file contains lot of datas, which is like repaeated rows report.

The output file need to have column wise report, rather than row-wise.


Input File
random...
Showing results 1 to 25 of 64

 

Featured Tech Videos

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