toolkit/func/core/pkg_coreutils/12-cat.sh
2021-07-04 23:50:25 -07:00

12 lines
183 B
Bash
Executable File

#!/bin/bash
r_log "coreutils" "Testing cat"
cat > /var/tmp/cattest <<EOF
Green Obsidian
EOF
grep -q "Green Obsidian" /var/tmp/cattest
r_checkExitStatus $?
/bin/rm /var/tmp/cattest