# HG changeset patch # User HackBot # Date 1445078278 0 # Node ID 304b6e5b089fd75312c1f0496434f3c33cbe7bf5 # Parent 047bfffd1043c9ee0c4af0688b52e5235172a15c ` sed -i -e \'2s#$# | perl -pe \'\\\'\'if (/^\\\\s*(\\d+:)\\\\s*((?:\\\\w\\\\w )+)\\\\s*(\\\\S.*)$/) { ($a,$b,$c) = ($1,$2,$3); $_ = "$a $b ".($c =~ s/\\\\s+/ /rg); }\'\\\'\'#\' bin/asm diff -r 047bfffd1043 -r 304b6e5b089f bin/asm --- a/bin/asm Sat Oct 17 10:37:17 2015 +0000 +++ b/bin/asm Sat Oct 17 10:37:58 2015 +0000 @@ -1,2 +1,2 @@ #!/bin/sh -echo "$1" | as -c /dev/stdin -o /tmp/asm.o; objdump -d --insn-width=20 /tmp/asm.o | sed -e "1,/0000000000000000/d" +echo "$1" | as -c /dev/stdin -o /tmp/asm.o; objdump -d --insn-width=20 /tmp/asm.o | sed -e "1,/0000000000000000/d" | perl -pe 'if (/^\s*(d+:)\s*((?:\w\w )+)\s*(\S.*)$/) { ($a,$b,$c) = ($1,$2,$3); $_ = "$a $b ".($c =~ s/\s+/ /rg); }'