toolkit/func/core/pkg_coreutils/15-heads-tails.sh
2021-07-04 23:50:25 -07:00

10 lines
244 B
Bash
Executable file

#!/bin/bash
r_log "coreutils" "Test head and tail"
r_log "coreutils" "Testing head"
head -n1 /etc/os-release | grep -q NAME
r_checkExitStatus $?
r_log "coreutils" "Testing tail"
tail -n1 /etc/os-release | grep -q SUPPORT
r_checkExitStatus $?