SHTOOL.TMP(1)
π shtool β The GNU Portable Shell Tool π
okay so bestie, welcome to SHTOOL.TMP(1), section 1 of the manual. this is the whole vibe. pull up a chair, grab a boba, we're doing this π§β¨
β¨ NAME β¨
shtool β The GNU Portable Shell Tool π«Ά
πΈ VERSION πΈ
GNU shtool 2.0.8 (18-Jul-2008) β yes she's vintage, and yes she still ate π
β SYNOPSIS β
shtool [ global_options ] command [ command_options ] [ command_args ]
π¦ DESCRIPTION π¦
so like, shtool is a compilation of small but very stable and portable shell scripts, all squished together into one single shell tool. every ingredient in here was in successful use over many years in various free software projects β so it's not experimental, it's not a beta, it's the friend who's been doing this since before you were born and is lowkey unbothered about it π
the compiled shtool script is intended to be used inside the source tree of those free software packages. and once it's there, it takes over various (usually non-portable) tasks related to the building and installation of such packages. it's giving "I'll handle the boring stuff, you go be the main character" π
π GLOBAL OPTIONS π
these are the global options available for shtool. and listen β any commands are ignored if one of them is present on the shtool command line. like, they just don't happen. periodt. π
-h,--helpβ displays a short help page describing the usage ofshtooland it's ingredient commands in a compact way.-v,--versionβ displays the version number ofshtool.-d,--debugβ displays shell trace messages for debugging purposes.-r,--recreateβ recreate theshtoolscript with its own individualshtoolize(1)call.
π COMMANDS π
the following commands are provided by shtool. they are all called via "shtool" command. any command options command_opts and arguments command_args are specific to the particular command and are described in the corresponding manual page shtool_command(1). π«Ά
the commands are listed here sorted by topic, i.e., related commands are listed side-by-side. cute, right?
echoβecho(1)style print command providing special expansion constructs (terminal bold mode, environment details, date) and newline control. β¨mdateβ pretty-printing of the last modification time of a file or directory. π°οΈtableβ pretty-printing a field-separated list as a two-dimensional table. πpropβ displaying of a processing indication though a running terminal character propeller. πmoveβmv(1)style command for renaming/moving multiple files at once and allowing source files just to be deleted if contents did not change. πinstallβinstall(1)style command for installing a program, script or data file in a portable way. π¦mkdirβmkdir(1)style command providing support for automatical parent directory creation, directory permission control and smart skipping if directory already exists. ποΈmklnβln(1)style command providing automatic calculation and usage of relative links if possible. πmkshadowβ creation of a shadow filesystem tree by the help of symbolic links. π³fixpermβ fixing of file permissions in a source tree by cleaning up the permission bits. πrotateβ rotate a logfile. πtarballβ roll standardized distribution tarballs. πsubstβ applysed(1)substitution operations. βοΈplatformβ determines platform identification information. π₯οΈarxβ extended archive command which can even put existing archives into an archive. ποΈsloβ separate linker options by library class. π§©scppβ an additional C source file pre-processor for sharingcpp(1)code, internal variables and internal functions. π§versionβ maintain a version information file in either Text, C/C++, Perl or Python. format. πpathβ deal with shell path variables. π£οΈ
π SEE ALSO π
shtoolize(1), shtool-arx(1), shtool-echo(1), shtool-fixperm(1), shtool-install(1), shtool-mdate(1), shtool-mkdir(1), shtool-mkln(1), shtool-mkshadow(1), shtool-move(1), shtool-path(1), shtool-platform(1), shtool-prop(1), shtool-rotate(1), shtool-scpp(1), shtool-slo(1), shtool-subst(1), shtool-table(1), shtool-tarball(1), shtool-version(1). π
π§ HISTORY π§
some scripts contained in GNU shtool were already written in 1994 by Ralf S. Engelschall for use inside some private source trees. like, 1994?? iconic behavior honestly π then they evolved into more elaborated versions over the years and were used in various free software projects like ePerl, WML, iSelect, gFONT, etc. they were complemented with other scripts from the author which he wrote in March 1998 for the ``Apache Autoconf-style Interface'' (APACI) for Apache 1.3. in April 1999 the shtool package was created out of the accumulated master versions of the scripts, and in June 1999 it entered the status of an official GNU program β and this way finally joined the group of GNU autoconf, GNU automake and GNU libtool. she found her people fr fr π₯Ήπ
πΈ AUTHOR πΈ
Ralf S. Engelschall rse@engelschall.com www.engelschall.com
π and that's the whole page bestie. this was GNU shtool 2.0.8, dated 18-Jul-2008, and the manual page isSHTOOL.TMP(1). slay, stay portable, and don't forget to--helpwhen you're lost π«Άβ¨π
π¦ where this page comes from
- debian bookworm: shtool 2.0.8-10 Β· GPL-2.0-or-later
- debian trixie: shtool 2.0.8-10 Β· GPL-2.0-or-later
- ubuntu jammy: shtool 2.0.8-10 Β· GPL-2.0-or-later
- ubuntu noble: shtool 2.0.8-10 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms