473,782 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

beta release of XMLgawk available

Hello,

The beta alpha release (xgawk-3.1.5-beta.20060401)
of the xmlgawk project is now available at SourceForge.

http://sourceforge.net/projects/xmlgawk/
http://sourceforge.net/project/showf...roup_id=133165

This release is based on Arnold Robbins' regular GNU Awk 3.1.5.
Problem reports are supposed to go to xm***********@l ists.sourceforg e.net.

We have three extensions now in the release: XML, PostgreSQL and MPFR.
XML and PostgreSQL are pretty mature; Andrew Schorr uses both in
a production environment. Support for MPFR is only beginning.
Cross-platform portability has improved even further.
Some ancient platforms are unable to make use of dynamic libraries.
In all cases where dynamic libraries failed to work, it was
possible to fall back to static linking.
Building Cygwin DLL extension libraries is still not working.
So, only static linking is supported with Cygwin.
We could use some help from somebody with experience getting
libtool to do this. We had reports that other Windows-like
platforms (Visual Studio, DJGPP, MINGW) would also build
with support for all the extensions, but only after a few changes.

The manual has been updated to reflect all the changes we made
since the alpha release. For a quick first impression see:

http://home.vrweb.de/~juergen.kahrs/...of-an-XML-file

The list of changes (with respect to Arnold's GNU Awk 3.1.5)
has grown since the alpha release:

1. Adds new -l (--load) command-line option to link in a shared library.
This searches for the library using a new AWKLIBPATH environment variable
(with an appropriate default value if none is present in the environment).
And it automatically tries to supply a default suffix appropriate for
shared libraries on the build platform.

2. Adds new -i (--include) command-line option to include gawk source code.
This searches for the gawk code using the existing AWKPATH environment
variable as is currently done for -f arguments. And it automatically tries
to find the file with and without a default .awk suffix.

3. Enhances -f processing to also supply an automatic .awk suffix.
(For each directory in AWKPATH, it first tries to open the file without
a suffix, and then tries with .awk appended.)

4. Adds support for an @include directive in the source code.
This is the same feature provided by the current igawk script.
This works the same way as in igawk (and as in the new -i command-line option).
So the igawk script can be removed and replaced with a symbolic link to
the new gawk binary. This is a little more powerful than igawk @include
because it can automatically add the .awk suffix.

5. Adds support for an @load directive in the source code to load a shared library.
This does the same thing as the new -l command-line option.

6. There are internal enhancements to provide better support for loading shared libraries.

7. Several bug fixes are included that have not yet been incorporated into regular gawk.
In particular, some problems with displaying large integers have been fixed.

8. A packaging subdirectory has been added to contain platform-specific packaging tools.
Currently, it contains only an RPM spec file xgawk.spec.
This can be used to build an RPM easily from the tarball (possibly as simple as
rpmbuild -tb xgawk.tar.gz depending on your configuration).
We would welcome submissions of packaging tools for other platforms.

The installation process of Extensible GNU Awk has also added some new options.
Note that installing xgawk will not in any way interfere with a previous
installation of gawk: all the installed files have distinct names from the
files installed by regular gawk. So both can coexist without disturbing each other.

1. The --enable-switch of regular gawk option is enabled by default.

2. The option --enable-gawk is new, its default is no.
Enabling this option will install links to provide gawk, awk, and
igawk executables in addition to xgawk. This option is useful in
case you do not want to install regular gawk. But if regular gawk
has already been installed before xgawk, these links will not be
installed, so this option will have no effect.

3. The new option --enable-static-extensions (default is no) enforces
the use of statically linked extension libraries into the executable.
On platforms like Cygwin, this option is the only way to work with
extensions. These platforms have problems in handling dynamic libraries.

4. By default, all extensions will be built if the required libraries
exist on the platform. The options --disable-xml, --disable-pgsql,
and --disable-mpfr can be used to switch off the building of any
specific extension.

5. The options --with-expat=PATH, --with-libpq=PATH, and --with-mpfr=PATH
allow the usage of a library installed in a specific path.
Apr 8 '06 #1
1 2721
Jürgen Kahrs wrote:
Hello,

The beta alpha release (xgawk-3.1.5-beta.20060401)
of the xmlgawk project is now available at SourceForge.
http://sourceforge.net/projects/xmlgawk/
http://sourceforge.net/project/showf...roup_id=133165 ...........

3. Enhances -f processing to also supply an automatic .awk suffix.
(For each directory in AWKPATH, it first tries to open the file
without
a suffix, and then tries with .awk appended.)


Please make this an option - not the default.

I often construct my awk programs as being called by a
shell script with the same name as the awk file but no exception.

For example, abc has "gawk -f abc.awk".

This would seem to break my method.

Thanks,

Martin Cohen
Apr 10 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1093
by: Anthony Baxter | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team and the Python community, I'm happy to announce the first beta of Python 2.4. Python 2.4b1 is an beta release. We'd greatly appreciate it if you could download it, kick the tires and let us know of any problems you find, but it is probably not suitable for production usage.
0
1038
by: Anthony Baxter | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team and the Python community, I'm happy to announce the second beta of Python 2.4. Python 2.4b2 is a beta release. We'd greatly appreciate it if you could download it, kick the tires and let us know of any problems you find, but it is probably not suitable for production usage.
8
1574
by: clintonG | last post by:
Membership is broken and who knows what else. Does anybody have any referrals to current documents that explain what was changed and how one might respond? <%= Clinton Gallagher METROmilwaukee (sm) "A Regional Information Service" NET csgallagher AT metromilwaukee.com URL http://metromilwaukee.com/ URL http://clintongallagher.metromilwaukee.com/
8
1336
by: Marc G. Fournier | last post by:
After almost 9 months of development, the PostgreSQL Global Development Group is proud to announce that development on PostgreSQL 8.0.0 has now finished, and is ready for some serious testing. For those wondering about the 8.0.0 designation on this release, there have been several *very* large features included in this release that we felt warranted the jump. As with all of our releases, we aim to have this one as rock solid as...
0
2080
by: Marc G. Fournier | last post by:
After 4 weeks of work, involving alot of bug fixes, and documentation improvements, to the source tree, we have just released our 4th Beta of 8.0.0. Most of the items on Bruce's Open Items list have been completed, but we still have a half dozen or so Windows related items still open. For a complete list of changes/improvement since Beta 1 was released, please see: ftp://ftp.postgresql.org/pub/source/v8.0.0beta/ChangeLog-Beta3-to-Beta4
0
1983
by: Marc G. Fournier | last post by:
Its been almost 4 weeks since Beta4, and alot of work, involving alot of bug fixes, and documentation improvements, to the source tree, we have just released our 5th Beta of 8.0.0. All of our major Open Items have now been completed, and we're slowly entering the final stages, involving alot of testing and documentation changes. For a complete list of changes/improvement since Beta 1 was released, please see:
0
1229
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the first BETA release of Python 2.5. This is an *beta* release of Python 2.5. As such, it is not suitable for a production environment. It is being released to solicit feedback and hopefully discover bugs, as well as allowing you to determine how changes in 2.5 might impact you. If you find things broken or incorrect, please log a bug on...
0
1165
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the second BETA release of Python 2.5. This is an *beta* release of Python 2.5. As such, it is not suitable for a production environment. It is being released to solicit feedback and hopefully discover bugs, as well as allowing you to determine how changes in 2.5 might impact you. If you find things broken or incorrect, please log a bug on...
0
1300
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the third BETA release of Python 2.5. This is an *beta* release of Python 2.5. As such, it is not suitable for a production environment. It is being released to solicit feedback and hopefully discover bugs, as well as allowing you to determine how changes in 2.5 might impact you. If you find things broken or incorrect, please log a bug on...
0
9641
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10080
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9944
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.