Two packages for Ubuntu 8.04 (amd64)
Jean-Christophe CAZENAVE
cazenave at math.jussieu.fr
Fri Jul 31 14:31:08 BST 2009
Hi,
I use Linux for about 15 years and Ubuntu (Kubuntu) for a couple of months.
I made these two little packages:
glimpse: http://webglimpse.net , a tool for indexing text files in a
tree of directories
bash-4.0: my objective was to use associative arrays (the current man is
currently based on bash-3.2 and doesn't tell anything about that, but
the online documentation does:
http://www.gnu.org/software/bash/manual/html_node/Arrays.html#Arrays). I
have compiled it with the whole bunch of currrent patchs.
For instance:
bash-4.0$ cat Associative-array.sh (I found the script on the net, I
don't remember where)
declare -A ASSOC
ASSOC[First]="first element"
ASSOC[Hello]="second element"
ASSOC[Peter Pan]="A weird guy"
echo "${ASSOC[First]}"
echo "${ASSOC[Hello]}"
echo "${ASSOC[Peter Pan]}"
bash-4.0$ ./Associative-array.sh
first element
second element
A weird guy (among othe things, "declare -A" does not exist in
bash-3.02), this example will ever return "first element" 3 times.
By the way, this is the version of (K)ubuntu I use (on amd64 platform):
root at pc144:~/Admin# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.3 LTS"
Could somenoe tell where where I could upload my deb files ?
Best regards.
Jean-Christophe CAZENAVE
More information about the ubuntu-devel
mailing list