#!/bin/sh # # A general UNIX shell script which tests for open systems. You # may freely distribute this software as long as you don't charge # for it. Original. This script has worked successfully on every # UNIX variant I've tried, but doesn't seem to run on VMS. # # Insert your list and name as appropriate. # VENDORLIST="everyone you compete with, plus yourself" US="your company name here" for VENDOR in $VENDORLIST $US do if [ "$VENDOR" = "$US" ] ; then HOW="open" else HOW="proprietary" fi echo "Systems from $VENDOR are $HOW." done
(From the "Rest" of RHF)