From 19c887b21df198919cb0d0641950a6772aa22c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lawrence=20Vel=C3=A1zquez?= Date: Fri, 8 Mar 2024 20:05:45 -0500 Subject: [PATCH] Added links to POSIX test(1) and Greg's BashFAQ --- SC3013.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SC3013.md b/SC3013.md index 64be877..274b930 100644 --- a/SC3013.md +++ b/SC3013.md @@ -34,7 +34,7 @@ fi ### Rationale: -`test -nt` is an extension in ksh, bash and dash, but it is not covered by POSIX. +`test -nt` is an extension in ksh, bash and dash, but it is [not specified by POSIX](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html). ### Exceptions: @@ -46,4 +46,6 @@ warnings. ### Related resources: -* [Greg's Wiki - Bashism - Conditionals](https://mywiki.wooledge.org/Bashism#Conditionals) +* Greg's Wiki + * [BashFAQ #3: How can I sort or compare files based on some metadata attribute (newest / oldest modification time, size, etc)?](https://mywiki.wooledge.org/BashFAQ/003) + * [Bashism - Conditionals](https://mywiki.wooledge.org/Bashism#Conditionals)