view bin/as-encoding @ 12263:7829671dc5b3 draft

<b_jonas> addwhatis randquote(1hackeso) - print a random quote matching a regular expression
author HackEso <hackeso@esolangs.org>
date Sun, 08 Dec 2019 00:31:29 +0000
parents 03cf0fcb8f58
children
line wrap: on
line source

echo "$1" | as -o /tmp/out.o - && objdump -d /tmp/out.o | grep -P '^ *[0-9a-f]+:' | sed 's/^[^\t]*\t//; s/ *\t/: /g'