#!/bin/bsh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # cmdtext720 src/cmdtext/usr/bin/explain/explain.sh 1.8 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 1989,1993 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # @(#)12 1.8 3/30/07 03:23:33 # # COMPONENT_NAME: (CMDTEXT) Text Formatting Services # # FUNCTIONS: # # ORIGINS: 26,27,28 # # (C) COPYRIGHT International Business Machines Corp. 1989, 1993 # All Rights Reserved # Licensed Materials - Property of IBM # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # # explain.sh 4.5 (Berkeley) 83/05/27 # D=/usr/lib/explain.d while /usr/bin/dspmsg explain.cat 1 'phrase? ' read x do case $x in [a-z]*) /usr/bin/sed -n "/${x}.* /p" $D | while IFS=" " read ARG1 ARG2 do /usr/bin/dspmsg explain.cat 2 'use \"%2$s\" for \"%1$s\"\n' "$ARG1" "$ARG2" done esac done