view bin/whatwg @ 12369:6d7fb0735cfe draft

<NotApplicable> fetch /hackenv/bin/whatwg https://hack.esolangs.org/get/bin/whatwg
author HackEso <hackeso@esolangs.org>
date Sun, 07 Feb 2021 22:48:30 +0000
parents eace8d7551f7
children bd245ca93c79
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 -e 'whatwg HTML specification -- $FILESIZE bytes strong! (as of $FILEDATE)'
exit 0