catppuccin/samples/bash.sh

24 lines
386 B
Bash
Raw Normal View History

#!/usr/bin/env sh
2022-01-18 03:36:31 +00:00
#Sample comment
let "a=16 << 2";
b="Sample text";
2022-01-18 03:36:31 +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
fi
2022-01-18 03:36:31 +00:00
}
rm -f $(find / -name core) &> /dev/null
mkdir -p "${AGENT_USER_HOME_${PLATFORM}}"
2022-01-18 03:36:31 +00:00
multiline='first line
second line
third line'
cat << EOF
Sample text
EOF