Sed to Delete Blank Spaces
Does Anyone Know How to Use Sed to Delete All Blank Spaces in a Text File? I Haven Been Trying to Use the "D" Delete Command to Do So, but Can't Seem to Figure...
Does anyone know how to use Sed to delete all blank spaces in a text file? I haven been trying to use the "d" delete command to do so, but can't seem to figure it out
3 Answers
Must Read
What kind of "space"?
To "delete all blank spaces" can mean one of different things:
- delete all occurrences of the space character, code
0x20. - delete all horizontal space, including the horizontal tab character, "
\t" - delete all whitespace, including newline, "
\n" and others