Linux/Linux 명령어
linux tr remove spaces, tabs, carriage returns and newlines.
Real_G
2017. 9. 5. 16:12
반응형
You can use tr
, as in tr -d '\040\011\012\015'
, which will remove spaces, tabs, carriage returns and newlines.
$ cat file.txt | tr -d '\040\011\012\015' > out.txt
반응형