2023-01-26 18:53:05 +00:00
|
|
|
#!/usr/bin/env sh
|
2022-01-18 03:36:31 +00:00
|
|
|
|
2023-01-26 18:53:05 +00:00
|
|
|
#Sample comment
|
|
|
|
let "a=16 << 2";
|
|
|
|
b="Sample text";
|
2022-01-18 03:36:31 +00:00
|
|
|
|
2023-01-26 18:53:05 +00:00
|
|
|
function foo() {
|
|
|
|
if [ $string1 == $string2 ]; then
|
|
|
|
for url in `cat example.txt`; do
|
|
|
|
curl $url > result.html
|
2022-01-18 03:36:31 +00:00
|
|
|
done
|
2023-01-26 18:53:05 +00:00
|
|
|
fi
|
2022-01-18 03:36:31 +00:00
|
|
|
}
|
|
|
|
|
2023-01-26 18:53:05 +00:00
|
|
|
rm -f $(find / -name core) &> /dev/null
|
|
|
|
mkdir -p "${AGENT_USER_HOME_${PLATFORM}}"
|
2022-01-18 03:36:31 +00:00
|
|
|
|
2023-01-26 18:53:05 +00:00
|
|
|
multiline='first line
|
|
|
|
second line
|
|
|
|
third line'
|
|
|
|
cat << EOF
|
|
|
|
Sample text
|
|
|
|
EOF
|