]> git.tue.mpg.de Git - gsu.git/log
gsu.git
10 years agogsu: Allow help/man/prefs command even on invalid configs.
Andre Noll [Fri, 21 Aug 2009 15:20:39 +0000 (17:20 +0200)]
gsu: Allow help/man/prefs command even on invalid configs.

These generic subcommands do not need the config file. It's pointless
to refuse to print the help e.g. if a required config variable is unset.

Also, use the name of the executable as the default value for gsu_name.

10 years agogsu: Introduce gsu_config_var_prefix.
Andre Noll [Fri, 19 Jun 2009 09:25:27 +0000 (11:25 +0200)]
gsu: Introduce gsu_config_var_prefix.

It defaults to the $gsu_name, i.e. this is a backwards-compatible change.

10 years agogsu: Fix a typo in gsu_check_options().
Andre Noll [Fri, 19 Jun 2009 09:24:38 +0000 (11:24 +0200)]
gsu: Fix a typo in gsu_check_options().

This caused gsu to exit without an error message in case there is
an invalid option type given in the script that used gsu.

10 years agogsu: Allow empty default values.
Andre Noll [Fri, 12 Jun 2009 11:33:24 +0000 (13:33 +0200)]
gsu: Allow empty default values.

10 years agoPriliminary version of gsu2.
Andre Noll [Wed, 10 Jun 2009 14:48:47 +0000 (16:48 +0200)]
Priliminary version of gsu2.

Backwards compatible, new features are only used by dpch yet.

10 years agogsu improvements.
Andre Noll [Fri, 3 Apr 2009 08:45:53 +0000 (10:45 +0200)]
gsu improvements.

Support config files from within gsu. Untested.

10 years agogsu: Remove unused variable "tilde_signs".
Andre Noll [Sun, 26 Aug 2007 22:15:53 +0000 (00:15 +0200)]
gsu: Remove unused variable "tilde_signs".

10 years agogsu: Make man a generic gsu command.
Andre Noll [Sun, 26 Aug 2007 21:07:14 +0000 (23:07 +0200)]
gsu: Make man a generic gsu command.

Also, make the help text of eat grutatxt-friendly and add some more
documentation.

10 years agogsu: Kill debug "ret=1".
Andre Noll [Sat, 25 Aug 2007 19:00:25 +0000 (21:00 +0200)]
gsu: Kill debug "ret=1".

10 years agogsu: Replace "$*" by "$@".
Andre Noll [Fri, 24 Aug 2007 17:06:30 +0000 (19:06 +0200)]
gsu: Replace "$*" by "$@".

This allows to pass parameters containing spaces.

10 years agogsu: Trivial gsu_err_msg() cleanup.
Andre Noll [Wed, 1 Aug 2007 15:09:07 +0000 (17:09 +0200)]
gsu: Trivial gsu_err_msg() cleanup.

10 years agogsu: Fix two bashisms.
Andre Noll [Thu, 26 Jul 2007 13:40:42 +0000 (15:40 +0200)]
gsu: Fix two bashisms.

Always include the '$', even in math expressions where bash doesn't
need it.

10 years agogsu: Fix "echo -en" bashism.
Andre Noll [Thu, 26 Jul 2007 13:15:37 +0000 (15:15 +0200)]
gsu: Fix "echo -en" bashism.

10 years agogsu: trivial cleanup.
Andre Noll [Fri, 13 Jul 2007 17:06:50 +0000 (19:06 +0200)]
gsu: trivial cleanup.

10 years agogsu: remove shebang
Andre Noll [Wed, 11 Jul 2007 14:59:48 +0000 (16:59 +0200)]
gsu: remove shebang

It's not needed for functions.

10 years agogsu: print $(basename $0) instead of $0 on help output.
Andre Noll [Wed, 11 Jul 2007 13:33:07 +0000 (15:33 +0200)]
gsu: print $(basename $0) instead of $0 on help output.

10 years agointroduce gsu: The global subcommand utility, and make bbf_adm use it.
Andre Noll [Wed, 11 Jul 2007 09:34:43 +0000 (11:34 +0200)]
introduce gsu: The global subcommand utility, and make bbf_adm use it.

18 years agoeat: the environment admin tool
Andre [Tue, 21 Feb 2006 17:20:09 +0000 (18:20 +0100)]
eat: the environment admin tool

It is no good sign if one has written so many scripts that
a tool for managing them is neccessary..