view bin/whatwg @ 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
children a6512c6c4477
line wrap: on
line source

#!/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