Search Results

Search: Posts Made By: VGR
13,443
Posted By VGR
hey it still doesn't seem to be working.. isn't...
hey it still doesn't seem to be working.. isn't there a way it'll pick this up automatically?
In the installation folder i see around 4 different folders as in 1 for every mirror i downloaded...
13,443
Posted By VGR
I am currently using cygwin... I think i...
I am currently using cygwin...
I think i installed all the perl modules... i must've left out the c stuff... thought it would come in by default....
it looks like i haven't installed the make...
13,443
Posted By VGR
Error while trying to install from CPAN
Hi i was trying to install Text::CSV from cpan... it seemed to have downloaded everythign properly but was not able to run the make file...
do u have any idea as to why this happened??

Install:
...
2,655
Posted By VGR
first up.... im not trying to convince anyone...
first up....
im not trying to convince anyone that i thought up the map....
all im trying to do is understand and learn how this works..

I have used the open function before like this:

if...
2,655
Posted By VGR
isn't there any way to read the entire file in...
isn't there any way to read the entire file in one shot rather than record wise.... it's a little confusing... could u plzzzzzzzzzzzzzzz show me an example... thanx.... :D
2,655
Posted By VGR
thanks man... in the same situation, ...
thanks man...
in the same situation,
supposing the data was present in a file called data.txt
how would i pull out the data then???
2,655
Posted By VGR
Reading values in perl
Hi whats the easiest way to read data from a feed file?

sample data in a file called data.txt:

name = varun
ip = '23.43.123.2'
address = "asd, blah blah blah ..... @#!$%$#%"



i want to...
Forum: AIX 08-10-2009
4,756
Posted By VGR
hey thanks a ton for the links man... the site...
hey thanks a ton for the links man...
the site said that it's done at the database level
it looks like il have to create another database after enabling varchar2_compact and then migrate to it....
Forum: AIX 08-10-2009
4,756
Posted By VGR
problem using VARCHAR2
Hi...
i have currently installed db2 version 9.1.2 on my AIX machine...
No matter what i do,.... VARCHAR2 just doesn't seem to be working!
This is the error i ketp getting after i ran a simple...
6,438
Posted By VGR
My data file looks like this: vgr,bugatti...
My data file looks like this:
vgr,bugatti veron,,3.5,Venom,6,.......,....
vgr,lamborgini,,3.5,nos,6,.......,....
abc,bugatti veron,,3.5,Venom,6,.......,.......
.
.
.
.

What happens when...
3,469
Posted By VGR
matching multiple values in awk
How will you change the 5th column in the data file with the value in the second column in the error_correction.txt file.
You have to match an extra variable, column 3 of the error_correction file...
6,438
Posted By VGR
cool thanks man hope im not bugging you too...
cool thanks man

hope im not bugging you too much......
but hey another twist to this :)

what if i had:
VenoM,Venom,am1
Venom,VENOM,ax2
nos,NOS,ba1
nos,N2O,gd2
nos,n2o,as3
..
.
.
.
...
6,438
Posted By VGR
i have around 4 conditions to check! is it...
i have around 4 conditions to check!
is it possible to redirect it to a subroutine? Or is it possible to use a something like a switch case?

Im doing something like this:
{
x=substr($1,2,5);
}...
1,887
Posted By VGR
Additional question to "awk to replace particular field"
I guess it was getting a little messy on the other post so here goes:
Link to previous post for Question:
https://www.unix.com/shell-programming-scripting/111338-awk-replace-particular-field.html
...
6,438
Posted By VGR
hey i was messing around a bit ... made me...
hey i was messing around a bit ... made me wonder...
If the error_correction.txt file had 3 columns,:

VenoM,Venom,Antivenom
nos,NOS,N2O
..
.
.
.


Now Suppose i have an if statement and...
2,174
Posted By VGR
oh cool thanks a lot man...
oh cool thanks a lot man...
2,174
Posted By VGR
reading from 2 files using awk
hi,
Is it possible to read and compare 2 files which have different Field separators at the same time using awk???

file1:
1,dayal,maruti,Z-234,bangalore,KA,...........
6,438
Posted By VGR
cool... awesome stuff thanks a ton man....
cool...
awesome stuff
thanks a ton man....
6,438
Posted By VGR
im not quiet sure why this is happening... the...
im not quiet sure why this is happening...
the value changes inside the loop but is not being saved to the file!
6,438
Posted By VGR
Thanks Joeyg... I was not quiet sure how to...
Thanks Joeyg...
I was not quiet sure how to pull up values from another file from inside the awk!
how Do i use an ass. array[hash] inside awk??
6,438
Posted By VGR
awk to replace particular field
i have bad data for instance, the use of capital letters in the middle of the word.
I identified the errors, made a list and put it in a file error_correction.txt
Incorrect,Correct
VeNOM,Venom...
1,970
Posted By VGR
efficient repace
some of the data i receive has been typed in manually due to which there are often places where i find 8 instead of ( and the incorrect use of case [like YoGa instead of Yoga]
what according to you...
6,817
Posted By VGR
well.... any ideas on how this is done?
well.... any ideas on how this is done?
6,817
Posted By VGR
The output i was looking for : SQL0204N...
The output i was looking for :


SQL0204N occoured 3 times
[description] SQL0204N "ITUAM.VW_TT_VALUES" is an undefined name.
SQLSTATE=42704
blah blah blah....

SQL3196N occoured 7 times...
6,817
Posted By VGR
Thanks for that man... but Iguess that was not...
Thanks for that man...
but Iguess that was not a good example. Basically I want to capture the description of the error along with the error and count how many times it occurred.
I want to capture...
Showing results 1 to 25 of 41

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