Announcement: TLUG Meeting: Sept 14, 2004.

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Sun Sep 12 20:00:04 UTC 2004


On Tue, Sep 07, 2004 at 05:18:56PM +1000, Robert Brockway wrote:
> Details:
> 
>     Bash-3.0 was released recently.  Two notable additions from
>     Bash-2.05b are regex test '=~' in [[...]] and integer sequence
>     generator {x..y}.  Bash patch written by William Park
>         http://freshmeat.net/projects/bashdiff/
>         http://freshmeat.net/projects/basp/
>     extends Bash's capability even more, giving other modern scripting
>     languages a run for their money.
> 
>     His patch incorporates many useful features from Awk, Python, Zsh,
>     Ksh, and others.  In the main core, it adds the following:
>         - new brace expansion {a..b}
>         - new parameter expansion ${var|...}
>         - new command substitution $(=...)
>         - string concatenation (+=)
>         - extended for, while, and until loops
>         - extended case statement
>         - new try-block with integer exception.

Update:
    - string concatenation has been moved to builtin as part of
      strcat(3) emulation.
    - new <<+ here-document
    - more ${var|...} operators.

>     As builtin commands, it adds the following:
>         - extended set, read, echo builtins
>         - sscanf(3) wrapper
>         - variety of array and regex(3) operations
>         - GDBM, SQLite, PostgreSQL, and MySQL database interfaces
>         - an HTML template engine (BASP).

Update:
    - all builtins are now dynamically loadable.  Can also be statically
      linked, as one-in-one binary.
    - stack/queue operations (ie. pop, push, append, swap, rotate, ...)
      on positional parameters and arrays.
    - Expat XML parser interface
    - x-y character plot


>     He will give a quick tutorial on above features.  People are
>     encouraged to try it out, and any feedback on possible
>     applications or feature requests are most welcome.  Since
>     everything is online, there will be no handouts or projector.
>     Just chalk and blackboard.

-- 
William Park <opengeometry-FFYn/CNdgSA at public.gmane.org>
Open Geometry Consulting, Toronto, Canada
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list