How i can delete whitespace in each line of file, using bash For instance, file1.txt. Before:
gg g gg g t ttt
after: