P. 1
Software Distributor Administration Guide for HP-UX 11i

Software Distributor Administration Guide for HP-UX 11i

|Views: 968|Likes:
Published by Cem Tuğrul

More info:

Published by: Cem Tuğrul on Aug 01, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

A control script should be a shell script (as opposed to a binary) and
written to be interpreted by the Posix.2 shell /sbin/sh. Korn shell
(formerly /bin/ksh) syntax is acceptable to the Posix.2 shell. A script
written for csh is not supported.

The script should have a simple header similar to the example below.
Included in the header should also be comment lines which state the
product and fileset to which the script belongs, the name of the script,
the revision string as required by thewhat(1) command, and a simple
copyright statement.

#! /sbin/sh
########
# Product:
# Fileset:
# configure
# @(#) $Revision: 10.30 $
########
#
# (c) Copyright MyCompany, 2001
#
########

376

Chapter11

Using Control Scripts

General Script Guidelines

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->