Search Results

Search: Posts Made By: Mohit623
2,677
Posted By Mohit623
Comparing data in file with values in table
Hi,

I want to calculate the number of pipe delimiters in a file for all lines seperately.

For eg:i have a file Project.txt

Mohit|chawla|123|678
File1|File2|345|767|678

And my file...
6,298
Posted By Mohit623
Using SQL in Unix
Please tell me how i can use SQL in my unix scripts.
Please give examples.
I just want to start writing some scripts for my use.
Looking for ur cooperation.
thanks
2,214
Posted By Mohit623
hi yogesh, i m having no idea about perl. ...
hi yogesh,
i m having no idea about perl.
Cant we use simple unix commands in shell and awk to get the result?
Please help me with this.
Thanks in advance.
2,214
Posted By Mohit623
hi, Actually i have sql queries and with those...
hi,
Actually i have sql queries and with those queries i want to check the feed files in unix.

so i have the joining condition as:
Column 4 from F1= Column 29 from F2;
Column 10 from F1= Column...
2,214
Posted By Mohit623
Printing specified lines only
hi,
i m having 2 files say F1 and F2.
there are some joining conditions like:

Column 4 from F1= Column 29 from F2;
Column 10 from F1= Column 165 in F2;
and if value in column 8 from F2='3'...
3,809
Posted By Mohit623
how to use "where" condition?
if i want to get the row in which a particular condition is req,
than how can i do it?
Like in the above given file if i want to extract only the row where second column =12 in the first file....
6,329
Posted By Mohit623
thanks sir. but what this is not searching for...
thanks sir.
but what this is not searching for the file as
D|2382994 ACE|9724029474|9728690617 000|Dallas County Utility|0|ADSL STATIC|6000|N O'Connor Blvd
D|2685592 ACE|8584511009|8584518859...
6,329
Posted By Mohit623
Sorry. last one is having - sign and all the...
Sorry.
last one is having - sign and all the other fields r blank.
so i should get the column no,. and line no.
D|2382994 ACE|9724029474|9728690617 000|Dallas County Utility|0|ADSL STATIC|6000|N...
6,329
Posted By Mohit623
D 2382994 ACE 9724029474 9728690617 000 Dallas...
D 2382994 ACE 9724029474 9728690617 000 Dallas County Utility 0 ADSL STATIC 6000 N O'Connor Blvd
D 2685592 ACE 8584511009 8584518859 544 JAMES KENNEDY 12 ADSL STATIC 14755 Bud'S Ln ...
6,329
Posted By Mohit623
Thanks a lot sir. It worked.:b:
Thanks a lot sir.
It worked.:b:
6,329
Posted By Mohit623
Blank column in a file.
hi,
Please tell me a way in which i can find out all the blank columns in the file which is pipe-delimited.after finding the blank column i want to find the line number.
3,809
Posted By Mohit623
hi, the needed result should be like this: ...
hi,
the needed result should be like this:
12|Mohit


And also tell a way in which i can get the following result:
12|Mohit|20071121|DAV|KKP|Pun

thanks
6,009
Posted By Mohit623
sorry your name was typed wrong by me. Ranjithpr
sorry your name was typed wrong by me.
Ranjithpr
6,009
Posted By Mohit623
Hi Ranlithpr: can u please explain the above...
Hi Ranlithpr:
can u please explain the above posted msg.
Actually i started using unix a few days back only.
So will you please help me.
3,809
Posted By Mohit623
Example File 1 20071121|12|Mohit|DAV ...
Example
File 1
20071121|12|Mohit|DAV
20071222|13|Dev|MRSD
20071011|14|Rajan|ST


File 2

12|KKP|Pun|Mohit
14|FDK|Pas|Abhi
15|SAD|Hp|Lali

Now it should join based on column 2,3 of first...
3,809
Posted By Mohit623
Joining 3 fields of a fiile
I am having two files which are pipe_delimited. I want only those rows in the output which are common values in 3 columns of both the files. The column Numbers in both the files are same as 3,29,31....
Showing results 1 to 16 of 16

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