PhunSoft.ch
  • Home
  • IBM z/OS Explained
  • REXX Scripting
  • Shell Scripting
  • Joomla!
  • PSION
    • About
    • Site Map
    • Profil bearbeiten
    • List of Categories
    • List of Images, single Categora
    • Article with Plugin code
    • Front End
  • Login

Shell Scripts

Articles in this part are about shell scripting on Linux.

Help Text in UNIX Shell Scripts

Details
Veröffentlicht: 26. November 2021

Looking for a clever way to display purpose and usage information to the caller of your shell script? What I describe here is a way to use the documentation that may already be there for just this purpose.

A good programmer puts some effort in good documentation of the software. Scripts should be no exception. So, you start your shell scripts with a couple of comment lines to describe the purpose of the script. You also document any parameters and exit values. Excellent.

Learn how to use this very description at the start of you shell script to display usage information to the user. You might do this when required parameters are missing, or if there is any error in the parameters provided.

Weiterlesen …

Popular Tags

psion-organizer-ii space-allocation freeware psion-siena psion-series-3 help-text here-document zos rexx error handling dataset psion jcl usage-description software shell-script

Copyright © 1996-2022 PhunSoft.ch — Powered by Joomla
Contact: Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein.

Impressum
Privacy Policy