# # shtool encapsulates a number of somewhat difficult or tricky tasks.
APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

2004/10/30 shtool

I've removed advertising from most of this site and will eventually clean up the few pages where it remains.

While not terribly expensive to maintain, this does cost me something. If I don't get enough donations to cover that expense, I will be shutting the site down in early 2020.

If you found something useful today, please consider a small donation.



Some material is very old and may be incorrect today

© October 2004 Tony Lawrence

The GNU shtool is one big shell script that encapsulates a number of somewhat difficult or tricky tasks. While its primary intent is for use within installation scripts, it can also be useful for general scripting and is very educational with regard to learning portable shell scripting.

ftp://ftp.gnu.org/gnu/shtool/

From the man page:



 
##  Available commands:
##    echo       Print string with optional construct expansion
##    mdate      Pretty-print modification time of a file or dir
##    table      Pretty-print a field-separated list as a table
##    prop       Display progress with a running propeller
##    move       Move files with simultaneous substitution
##    install    Install a program, script or datafile
##    mkdir      Make one or more directories
##    mkln       Make link with calculation of relative paths
##    mkshadow   Make a shadow tree through symbolic links
##    fixperm    Fix file permissions inside a source tree
##    rotate     Logfile rotation
##    tarball    Roll distribution tarballs
##    subst      Apply sed(1) substitution operations
##    platform   Platform Identification Utility
##    arx        Extended archive command
##    slo        Separate linker options by library class
##    scpp       Sharing C Pre-Processor
##    version    Maintain a version information file
##    path       Deal with program paths
 

I installed that on my Mac OS X box - it needs "pod2man", which I needed to get from CPAN ("install Pod::Man").


If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> shtool encapsulates a number of somewhat difficult or tricky tasks.


Inexpensive and informative Apple related e-books:

iOS 10: A Take Control Crash Course

Take Control of Automating Your Mac

Take Control of Pages

Take Control of High Sierra

Take Control of IOS 11





More Articles by © Tony Lawrence





Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





Dump may work fine for you a thousand times. But it _will_ fail under the right circumstances. And there is nothing you can do about it. (Linus Torvalds)




Linux posts

Troubleshooting posts


This post tagged:

Linux

Misc.

Shell

UnixWords



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode