GNU shtool is a compilation of small but very stable and portable shell scripts into a single shell tool. All ingredients were in successful use over many years in various free software projects. The compiled shtool program is intended to be used inside the source tree of free software packages. There it can overtake various (usually non-portable) tasks related to the building and installation of an free software package.
| Tags | Shells |
|---|---|
| Licenses | GPL |
| Implementation | Unix Shell |
Recent releases


Changes: This release adds support for the Sun Niagara (sun4v) architecture, and enhances recognition of Sun Solaris on the AMD-64 architecture.


Changes: The "shtool version" command was fixed.


Changes: Portability was enhanced even more by maximizing Bourne Shell compatibility under zsh and bash and avoiding NLS dependencies. Missing documentation was added for the "shtool tarball" option "-d".


Changes: "shtool mdate" now resets TIME_STYLE, as GNU coreutils' "ls" changes its time format in response to the TIME_STYLE variable. "shtool platform" now uses "env -i sort" for Linux detections to circumvent LC_COLLATE and LANG environment problems. "shtool version -l perl" has been fixed by replacing "my" with "our". FreeBSD/AMD-64 on iX86/EM64T detection has been improved within "shtool platform".


Changes: Insecure temporary file handling was fixed (see CAN-2005-1751 and CAN-2005-1759). Platform detection support was added for Mandriva Linux, Ubuntu Linux, and IBM PASE/AIX.
Software that fools a program into thinking it is running as root.