what is used to represent a "tab" character in "sed"# Programming - 葵花宝典
e*r
1 楼
I tried "\t" to represent a tab, but it doesn't work. thanks
bash-2.02$ less withtab.txt
fsfsdfsd = dlkgjdl
djf = dfd
bash-2.02$ sed 's/\t/ /g' withtab.txt
fsfsdfsd = dlkgjdl
djf = dfd
bash-2.02$ less withtab.txt
fsfsdfsd = dlkgjdl
djf = dfd
bash-2.02$ sed 's/\t/ /g' withtab.txt
fsfsdfsd = dlkgjdl
djf = dfd