[Shell] Remove tabulation
Solved
wafa_o
Posted messages
112
Status
Membre
-
dubcek Posted messages 18702 Registration date Status Contributeur Last intervention -
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:
''
''
''
''
]
''[ ''
''
''
''
''
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:
''
''
''
''
]
''[ ''
''
''
''
''