1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/bin/sh
# vim: set filetype=sh :
# file: example.multiply
# copyright: Bernd Schumacher <bernd.schumacher@hpe.com> (2007-2020)
# license: GNU General Public License, version 3
# description: example script that changes global and local variables in functions
# warning: do not use this as an example, because iashell is not designed
# for small functions. To learn more please read shellia(7)
# see also: test.multiply
set -e
set -u
ia_prefix="iiaa"
dbg_prefix="ddbbgg"
. ./ia
eval "$iiaa_init"
ddbbgg "program started"
iiaa_stdout "^hello$"
iiaa_add "echo \"hello\""
iiaa -c
|