synth/arm/filter.sh

24 lines
568 B
Bash
Raw Normal View History

2022-06-19 07:41:17 +00:00
#!/bin/sh
dos2unix "$@"
sed \
-e 's,02$,02 rx,' \
-e 's,03$,03 tx,' \
-e 's,04$,04 resume,' \
-e 's,05$,05 enqueue,' \
-e 's,06$,06 run task,' \
-e 's,09$,09 schedule,' \
-e 's,0a$,0a send,' \
-e 's,0b$,0b recv,' \
-e 's,0e$,0e task done,' \
-e 's,10$,10 run parent,' \
-e 's,11$,11 parent done,' \
-e 's,12$,12 co_await task,' \
-e 's,13$,13 suspend,' \
-e 's,14$,14 UartWrite done,' \
-e 's,15$,15 coroutine destroy,' \
-e 's,16$,16 gimme waiting,' \
-e 's,17$,17 gimme resume,' \
-i '' "$@"