ref: 68b2bcc2e06960fdac9cee44ac5a82eafa092869
parent: fb23dfbf5a77f306fa0181482a78ad4ed9ce73fc
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue Dec 19 02:35:02 EST 2017
[as] Make test.sh clearer
--- a/as/test.sh
+++ b/as/test.sh
@@ -10,9 +10,9 @@
./as-$cpu target/$cpu/test.s
sed -n '/^\// ! {
- s/.*\/ //
- s/ */\
-/g
+ s%.*/ %%
+ s% *%\
+/%
w '$tmp1'
}' target/$cpu/test.s
@@ -20,9 +20,9 @@
../objdump/objdump |
sed -n '/^data:/,$ {
/^data:/ ! {
- s/.*: //
- s/ */\
-/g
+ s%.*: %%
+ s% *%\
+%g
w '$tmp2'
}
}'