The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
HOW-TO: Awk powered SQL Panos1962 Shell Programming and Scripting 0 12-28-2008 04:25 AM
HP ProLiant iVirtualization Powered by Citrix XenServer iBot HP Server News and Podcasts RSS 0 09-09-2008 12:08 PM
Linux-powered LinPC desktop is a bargain iBot UNIX and Linux RSS News 0 09-08-2008 12:10 PM
COuld not telnet but server powered tjsingh SCO 0 06-11-2008 05:53 AM
Creating Oracle-Powered SOAP Services in PHP iBot Oracle Updates (RSS) 0 04-06-2008 06:10 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-02-2009
Panos1962 Panos1962 is offline
Registered User
  
 

Join Date: Dec 2008
Location: Thessaloniki, GREECE
Posts: 29
Exclamation SQL Powered Awk (SPAWK)

If anyone is interesting in using awk with MySQL databases, then I have some good news:

I've developed a (shared) library, namely libspawk.so, using MySQL C API and GNU awk's extension feature. If you are using MySQL and you like awk, then you'll find very useful to use SPAWK module.

Please visit my web site http://sites.google.com/site/spawkinfo to download the library and a test awk script to start with. You'll also find a complete reference manual, a tutorial and various examples in this URL. I'll apreciate your help in trying to run the test script in your environment.

I've tested the SPAWK library with GNU awk 3.1.6 and MySQL 5.0.45. I want to know if other versions of MySQL can work ok with the SPAWK module. Don't afraid of testing, the test (test00.awk) only prints all the columns of all the tables of all databases.

I've tested yesterday (May 9, 2009) the SPAWK module for MySQL 6.0 and passed! The test was unsuccesfull for the downloaded libspawk.so, so I downloaded the object spawk.o and makelib.sh shell script and run

Code:

    sh makelib.sh

I forgot to tell, that the library and spawk.o object are for x86 machines runing under Linux platform.

Last edited by Panos1962; 05-30-2009 at 08:21 AM.. Reason: Update
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0