rwxrob-dot/scripts/newest
Rob Muhlestein 2ea0289e9f Rebase
2022-02-09 02:29:05 -05:00

5 lines
88 B
Bash
Executable File

#!/usr/bin/env bash
IFS=$'\n'
f=($(ls -1 --color=never -trd ${1:-.}/*))
echo "${f[-1]}"