APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

2004/10/30 shtool

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").



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.




Increase ad revenue 50-250% with Ezoic


More Articles by

Find me on Google+

© Tony Lawrence



Kerio Samepage


Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

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





Never let a computer know you're in a hurry. (Anonymous)

Securing a computer system has traditionally been a battle of wits: the penetrator tries to find the holes, and the designer tries to close them. (Gosser)







This post tagged: