heredocsunw.ksh

来自「Solaris环境下Shell编程编程」· KSH 代码 · 共 25 行

KSH
25
字号
#!/bin/ksh# Script name: heredocSUNW.ksh# This script automates installing the SUNWaudio software package.## The assumption is the answers to the installation questions have# been documented by performing an actual install. Running the # script command prior to doing a package installation would # allow for such documentation.## This software package only asks two questions:# Do you want to install these conflicting files [y,n,?,q]# Do you want to continue with the installation of <SUNWaudio> [y,n,?] # # In each case the answer we will give is y for yes. Hence the two# lines containing y in the here document. print "About to install the SUNWaudio package."pkgadd -d spool SUNWaudio << ENDINPUTyyENDINPUT

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?