#!/bin/bash# Author: Alice Kaerast <alice@kaerast.info> t_Log "$0 testing touch and ls" # Create two filestouch -t 198307081200 /var/tmp/touch-test-1touch -t 198707071200 /var/tmp/touch-test-2 # ls -lt should show oldest file lastls -lt /var/tmp/touch-test-? | tail -n 1 | grep -q "touch-test-1" t_CheckExitStatus $? # Cleanuprm /var/tmp/touch-test-?