Need shell scripters to test Bash patch
Chris F.A. Johnson
c.f.a.johnson-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Thu Jan 8 07:35:33 UTC 2004
On Thu, 8 Jan 2004, William Park wrote:
> Dear shell scripters,
>
> I wrote a patch to Bash-2.05b, incorporating Awk and Python features
> that I like and use often. Most recently, I added regular expression to
> [...], [[...]], 'test', and 'case' statements. Other major features
> are
> - splitting and extracting regex patterns
> - integer and letter generation
> - multi-variable for-loop
>
> In essence, I've been trying to extend Bash's capability, so that I
> don't have to keep going back and forth between Bash and Awk/Python/Perl
> for silly little things.
>
> I would like beta testers. Any feedback would be welcome.
"array -s" behaves the same as "array -r"
$ q=( q w e r t y u i o p )
$ printf " %b" "\n" "${q[@]}" "\n\n"
q w e r t y u i o p
$ array -s q
$ printf " %b" "\n" "${q[@]}" "\n\n"
p o i u y t r e w q
$ array -r q
$ printf " %b" "\n" "${q[@]}" "\n\n"
q w e r t y u i o p
$
.....more later; it's bedtime
You might like to try a script I just wrote:
<http://cfaj.freeshell.org/src/scripts/mouse-demo>
> Relevant files are
> http://home.eol.ca/~parkw/bash.diff --> my patch
> ftp://ftp.gnu.org/pub/gnu/bash/bash-2.05b.tar.gz --> Bash source
> and there are short descriptions in <comp.unix.shell> articles that I
> posted,
> http://groups.google.com/groups?group=comp.unix.shell&selm=btgihg%246gdcq%241%40ID-99293.news.uni-berlin.de
> http://groups.google.com/groups?group=comp.unix.shell&selm=btinhd%247j07e%241%40ID-99293.news.uni-berlin.de
>
>
--
Chris F.A. Johnson
=================================================================
cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org http://cfaj.freeshell.org
--
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