Mercurial > repo
changeset 11927:03cf0fcb8f58 draft
<shachaf> mkx bin/as-encoding//echo "$1" | as -o /tmp/out.o - && objdump -d /tmp/out.o | grep -P \'^ *[0-9a-f]+:\' | sed \'s/^[^\\t]*\\t//; s/ *\\t/: /g\'
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sun, 08 Sep 2019 02:18:04 +0000 |
parents | cd854f00e03f |
children | 61a36c81a13b |
files | bin/as-encoding |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/as-encoding Sun Sep 08 02:17:16 2019 +0000 +++ b/bin/as-encoding Sun Sep 08 02:18:04 2019 +0000 @@ -1,1 +1,1 @@ -echo "$1" | as -o /tmp/out.o - && objdump -d /tmp/out.o | grep -P '^ *\d+:' | sed 's/^[^\t]*\t//; s/ *\t/: /g' +echo "$1" | as -o /tmp/out.o - && objdump -d /tmp/out.o | grep -P '^ *[0-9a-f]+:' | sed 's/^[^\t]*\t//; s/ *\t/: /g'