perl -pi -e 's|\x20|; s|\x90|' log.bin
給了我這個錯誤錯誤在Perl ONELINE命令
Backslash found where operator expected at -e line 1, near "s|\x20|; s|\"
syntax error at -e line 1, near "s|\x20|; s|\"
Execution of -e aborted due to compilation errors.
我在做什麼錯?打算用0x20到0x90替換所有字節的行...
正好!謝謝 – Pablo