[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Enhancements for aba.
From: |
Jan Hudec |
Subject: |
[Gnu-arch-users] Enhancements for aba. |
Date: |
Thu, 12 Feb 2004 23:49:58 +0100 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
Hello,
In trying to merge my old arch wrapper with aba, I have done some
changes to aba:
* It can have commands and options spread over two locations. One is
~/.aba/ and the other is $abadir, where
abadir=$(dirname $(readlink -f $0))
(actualy readlink_f which is a recursive shell function -- realink
-f is not portable). This should allow:
* Linking directly from archive.
* Keeping personal and public wrappers separated.
* Only having most of aba once for several users (system-wide
installation).
(it's backwards compatible)
* It always keeps proper word spliting of arguments. So arguments
with spaces or other funny characters make it to the command
intact. So it is ready when tla allows spaces in filenames.
* Aliases can be reconfigured for another leading character by
special alias aliaschar=<character> (^ is special in zsh)
* Added a "getopts" helper, that can set variables from options, if
more sofisticated commands need it (I have some such commands in
my old wrapper and plan to port them).
The downside is that it grew a bit.
The changes can be found in:
Version: address@hidden/tlacontrib--bulb--1.2
Location: http://www.ucw.cz/~bulb/{archives}/pub-1
Comments are welcome.
Jan
-------------------------------------------------------------------------------
Jan 'Bulb' Hudec
<address@hidden>
- [Gnu-arch-users] Enhancements for aba.,
Jan Hudec <=