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