sed replace a character with tab code example Example: replace tab sed sed -i.bak $'s/\t/ /' file.txt #replace tab with sed command