view bin/whatwg @ 12370:bd245ca93c79 draft

<NotApplicable> fetch /hackenv/bin/whatwg https://hack.esolangs.org/get/bin/whatwg
author HackEso <hackeso@esolangs.org>
date Sun, 07 Feb 2021 22:50:11 +0000
parents 6d7fb0735cfe
children
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