Trần Khánh Ly
New member
How do I remove white spaces in Linux?
Answer
The right tool for the job
Answer
The right tool for the job
- tr -d ‘ ‘ < input.txt > no-spaces.txt.
- tr -d ‘[:blank:]’ < input.txt > no-spaces.txt.
- tr -d ‘[:space:]’ < input.txt > no-spaces.txt.