Please see this


Contents

- INDEX
- Unix Scripts Index
- HP-UX
- Solaris
- Linux Index
- General Unix
- Unix Networking
- Other Unix types
- Unix databases

Associated Information

- none

Including interactive code in scripts

e.g. The following could be inserted into a script to cater for an interactive session

isql -Usa -Psuperbase-SCASCADE <<!
dump transaction ......
go
exit
!

The code

<<! defines ! as being the EOF marker. Therefore when the script gets to the ! statement, it knows the interactive phase has finished.

Note:The interactive responses must start in column 1


Copyright 2000 Intronet Computers Ltd
Email: Intronet Computers for enquiries