Search Results

Search: Posts Made By: vestport
1,309
Posted By vestport
Still not exactly what I need
I appreciate your input and I had no idea you could use paste like this too so thanks so much for that. The results put everything with a tab after the delimiter. I want all fields concatenated but...
1,309
Posted By vestport
No awk
Not sure how. Just doing the best that I can with what I know. If you have a better way then by all means post it.

Thanks again!


Art
1,309
Posted By vestport
Problem Solved!
Thank you Alister for pointing me in the right direction. I have used paste before but never looked at the "-" function. I ended up with:

< infile paste -d";" - - - - - - - | awk '{print...
1,309
Posted By vestport
convert fields on each line to one line
Hello,

I have a text file with the following fields:

RecordNumber
Name
Email
Date
Notes
Confirmed
MailingList

The problem is that each field is on a separate line. These seven fields...
Forum: Web Development 05-17-2012
3,574
Posted By vestport
PHPMaker 9 Help with Server Events & Filter
Hello,

I need some help with PHPMaker 9 "Server Events".

trying to do a simple filter but my lack of knowledge of PHP & Mysql is getting me in a jam.

I have 2 tables:

MyMainTable = which...
Forum: Programming 05-07-2012
1,767
Posted By vestport
Sorry for the questions. I know this is basic...
Sorry for the questions. I know this is basic stuff. I use RAD software for development and doing anything extra like this is off the wall for me.

Thank you once again!


Art:)
Forum: Programming 05-07-2012
1,767
Posted By vestport
radoulov, Thank you! That works fine....
radoulov,

Thank you!

That works fine. Is there any way to specify a sort order as the output I get is mixed together in random order or using another column to sort between all cities I...
Forum: Programming 05-07-2012
1,767
Posted By vestport
mysql query multiple records for one field
Hello Group,

What I have is a database with about a dozen fields and one being "City".

What I would like to do is to have a custom query on a single field for multiple items (cities) but I...
1,468
Posted By vestport
Replace field in one file with whole record data of another
Hello Group,

I need to replace the city field in “File 1 (fileld 3), with the entire record line of “File 2” (including delimiters) where the “city” field (File 1, Field 3)matches city field...
3,237
Posted By vestport
peasant thanks so much for that! It worked...
peasant thanks so much for that! It worked perfectly!

What I did was as you suggested convert the ";" delimiters in the one file first to "|" to get a common delimiter as your code uses the -F"|"...
3,237
Posted By vestport
Deleting duplicate records from file 1 if records from file 2 match
I have 2 files

"File 1" is delimited by ";" and "File 2" is delimited by "|".


File 1 below (3 record shown):
Doc1;03/01/2012;New York;6 Main Street;Mr. Smith 1;Mr. Jones...
1,483
Posted By vestport
Awesome! Thank you so much. I have not...
Awesome!

Thank you so much. I have not programmed in quite a while and I was really spinning my wheels on this one. I was never as proficient with awk as I should be. I really need to practice...
1,483
Posted By vestport
Replacing data in one file with data in another
Hello,

I have 2 files delimited by "|".

File1:

1|New York
12| Buffalo
599| Syracuse


File2:

56 Kennedy |1
9 Burridge Pl|15
98 BELL ROCK |599


My goal: Is to replace the...
2,188
Posted By vestport
That is it
Scrutinizer,

Thanks so much, that is it! Exactly what I am trying to to. Now I should be able to import this in mysql or excel as CSV data.

Also many thanks to Franklin52 for what you sent!
...
2,188
Posted By vestport
Franklin52, Thanks so much for that. What...
Franklin52,

Thanks so much for that. What you sent is nearly perfect. The problem is that some fields like "person1" or "person2" (as well as others) could have many more than 2 or 3 lines. What...
2,188
Posted By vestport
Text file to CSV with field data separated by blank lines
Hello,

I have some data in a text file where fields are separated by blank lines. There are only 6 fields however some fields have several lines of data as I will explain. Also data in a...
Showing results 1 to 16 of 16

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