Mercurial > repo
changeset 12365:15a8f7f3e2e2 draft
<NotApplicable> fetch /hackenv/bin/whatwg https://hack.esolangs.org/get/bin/whatwg
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sun, 07 Feb 2021 22:42:42 +0000 |
parents | 40e2bb60bc2f |
children | a8cbc438333f |
files | bin/whatwg |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/whatwg Sun Feb 07 22:42:42 2021 +0000 @@ -0,0 +1,10 @@ +#!/bin/bash +FILENAME="/tmp/whatwg" +if ![ -e "$FILENAME" ]; then + echo 'what?' + exit -1 +fi +FILESIZE=$(stat -c%s "$FILENAME") +FILEDATE=$(stat -c%y "$FILENAME") +echo 'whatwg HTML specification -- $FILESIZE bytes strong! (as of $FILEDATE)' +exit 0 \ No newline at end of file