[Shell] Remove tabulation

Solved
wafa_o Posted messages 112 Status Membre -  
dubcek Posted messages 18702 Registration date   Status Contributeur Last intervention   -
Hello,

I want to remove the tabs from my file. I'm using the command:

sed 's/^[ \t]*//;s/[ \t]*$//' <file>

This way, I'm removing all tabs at the beginning and end of the lines of my file.
However, I notice that there is still a tab in the middle of the line. Can you help me?
Thank you in advance.

Here's an excerpt from the file:

''
''
''
''
]
''[ ''
''
''
''
''

2 réponses

vignemail1 Posted messages 1262 Status Contributeur 259
 
```html sed -r "s/\t//ig"
--

Contributor member
Specialized in networks, web mastering, programming ```
5
wafa_o Posted messages 112 Status Membre 2
 
Super, thanks vignemail1
0
dubcek Posted messages 18702 Registration date   Status Contributeur Last intervention   5 657
 
bonjour
tr -d "\t"
3