toolkit/func/core/pkg_coreutils/12-cat.sh
2023-11-21 01:23:44 -07:00

11 lines
194 B
Bash
Executable File

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