mirror of
https://github.com/lupyuen/nuttx-riscv64.git
synced 2025-01-12 15:18:29 +08:00
Remove control chars from log
This commit is contained in:
parent
18a2e8ce28
commit
b8c12f9d04
3 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,7 @@ function test_once() {
|
|||
| sed 's/\x1B[<=>]//g' \
|
||||
| sed 's/\x1B\[[0-9:;<=>?]*[!]*[A-Za-z]//g' \
|
||||
| sed 's/\x1B[@A-Z\\\]^_]\|\x1B\[[0-9:;<=>?]*[-!"#$%&'"'"'()*+,.\/]*[][\\@A-Z^_`a-z{|}~]//g' \
|
||||
| cat -v \
|
||||
>/tmp/special-qemu-riscv-knsh-clean.log
|
||||
cat /tmp/special-qemu-riscv-knsh-clean.log | \
|
||||
gh gist create \
|
||||
|
|
|
@ -14,6 +14,7 @@ function test_once() {
|
|||
| sed 's/\x1B[<=>]//g' \
|
||||
| sed 's/\x1B\[[0-9:;<=>?]*[!]*[A-Za-z]//g' \
|
||||
| sed 's/\x1B[@A-Z\\\]^_]\|\x1B\[[0-9:;<=>?]*[-!"#$%&'"'"'()*+,.\/]*[][\\@A-Z^_`a-z{|}~]//g' \
|
||||
| cat -v \
|
||||
>/tmp/special-qemu-riscv-knsh64-clean.log
|
||||
cat /tmp/special-qemu-riscv-knsh64-clean.log | \
|
||||
gh gist create \
|
||||
|
|
|
@ -11,6 +11,7 @@ function runme() {
|
|||
| sed 's/\x1B[<=>]//g' \
|
||||
| sed 's/\x1B\[[0-9:;<=>?]*[!]*[A-Za-z]//g' \
|
||||
| sed 's/\x1B[@A-Z\\\]^_]\|\x1B\[[0-9:;<=>?]*[-!"#$%&'"'"'()*+,.\/]*[][\\@A-Z^_`a-z{|}~]//g' \
|
||||
| cat -v \
|
||||
>/tmp/special-qemu-riscv-nsh64-clean.log
|
||||
cat /tmp/special-qemu-riscv-nsh64-clean.log | \
|
||||
gh gist create \
|
||||
|
|
Loading…
Reference in a new issue