Apr 7, 2003 #1 inetd Technical User Jan 23, 2002 115 HK How can I type a tab character in bash shell? for example: I want to delete all the line(s) that starting with a tab character using sed. cat file.txt|sed '/^[tab]/d' ^^^ Thanks.
How can I type a tab character in bash shell? for example: I want to delete all the line(s) that starting with a tab character using sed. cat file.txt|sed '/^[tab]/d' ^^^ Thanks.
Apr 7, 2003 #2 danielhozac Programmer Aug 21, 2001 2,058 SE I tend to use [tt]echo -e \t[/tt], or pressing CTRL+V and then pressing the tab button. //Daniel Upvote 0 Downvote