[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rush-1.9 released [stable]

From: Sergey Poznyakoff
Subject: rush-1.9 released [stable]
Date: Wed, 24 Apr 2019 09:38:50 +0300


This is to announce the release of GNU rush version 1.9. This is a stable
release. Please see the end of this message for a list of noteworthy

GNU rush is a restricted user shell, designed for sites that provide
limited non-interactive access to their resources via ssh (such as,
e.g. savannah). Its flexible configuration gives system administrators
full control over the command lines that users execute, as well as
over the usage of system resources, such as virtual memory, CPU time, etc. 

Here are the compressed sources:   (1.2MB)  (920KB)   (724KB)

Here are the GPG detached signatures[*]:

Use a mirror for higher download bandwidth:

Here are the MD5 and SHA1 checksums:

a45d95e15d5929adb247d55e0e12b676  rush-1.9.tar.gz
a958afa52fd478c9d3f4d26695ac493c  rush-1.9.tar.bz2
271abbfdbf18fadd8dacd0b342ff413f  rush-1.9.tar.xz
ffbf5a889f41f07867948f4cc2df0f8d26a8b7f4  rush-1.9.tar.gz
4dccdd1cb583582c3f56898c28a619a7757ff187  rush-1.9.tar.bz2
f1fd69ffb1025601f7bb5aaf7c4857e7e4827043  rush-1.9.tar.xz

[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact.  First, be sure to download both the .sig file
and the corresponding tarball.  Then, run a command like this:

  gpg --verify rush-1.9.tar.gz.sig

If that command fails because you don't have the required public key,
then run this command to import it:

  gpg --keyserver --recv-keys 3602B07F55D0C732

and rerun the 'gpg --verify' command.

New in this version:

* Backreference expansion

Arguments to tranformations, chroot and chdir statements can contain
references to parenthesized groups in the recent regular expression
match. Such references expand to the strings that matched the
corresponding groups. Syntactically, a backreference expansion is a
percent sign followed by one-digit number of the subexpression
(1-based, %0 refers to entire matched line). For example

 rule X
   command ^cd (.+) && (.+)
   chdir %1
   set %2

* User-defined variables

The configuration file can define new variables or redefine the
built-in ones using the "setvar" statement:

  setvar[VAR] PATTERN

Here, VAR is the variable name, and PATTERN is its new value. The
PATTERN is subject to variable and backreference expansion.

User-defined variables can be unset using the "unsetvar" statement:


Unsetting a built-in variable, previously redefined using the "setvar"
statement causes the user-supplied definition to be forgotten and the
built-in one restored.

* Shell-like variable expansion

The following shell-like notations are supported:

${VAR:-WORD}   Use Default Values
${VAR:=WORD}   Assign Default Values
${VAR:?WORD}   Display Error if Null or Unset
${VAR:+WORD}   Use Alternate Value

* New script rush-po for extracting translatable strings from the configuration

The script rush-po.awk that was used in prior versions has been withdrawn.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]