shithub: scc

Download patch

ref: 87fdf0a159cb8574eaecf233293ecdb015dc698c
parent: 52e4bfb01814fc18500b2030aa2529192f3bdf60
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue Dec 19 04:54:33 EST 2017

[as] Change all the spaces or tabs to newlines

Before this patch only spaces were converted to newlines.

--- a/as/test.sh
+++ b/as/test.sh
@@ -13,7 +13,7 @@
 
 sed -n '/^\// ! {
 	s%.*/ %%
-	s%  *%\
+	s%[ 	][ 	]*%\
 %g
 	p
 }' target/$cpu/test.s |
@@ -24,7 +24,7 @@
 sed -n '/^data:/,$ {
 	/^data:/ ! {
 		s%.*: %%
-		s%  *%\
+		s%[ 	][ 	]*%\
 %g
 		p
 	}