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

2004/10/30 shtool


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:

Take Control of the Mac Command Line with Terminal, Second Edition

Are Your Bits Flipped?

Take Control of Apple Mail, Third Edition

Take Control of iCloud

Take control of Apple TV, Second Edition





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





Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? (Brian Kernighan)




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