Sign in
apache
/
openwhisk-runtime-go
/
6e80a9d38e966bbbae59201386cedcf9b6667d84
/
.
/
openwhisk
/
_test
/
hello.sh
blob: cc38507a07ba23877a53f9300bd82f95c61cd25d [
file
] [
log
] [
blame
]
#!/bin/bash
while
read line
do
name
=
"$(echo $line | jq -r .name)"
if
[
"$name"
==
"*"
]
then
echo
"Goodbye!"
>&
2
exit
0
fi
echo msg
=
"hello $name"
echo
'{"hello": "'
$name
'"}'
>&
3
done