On Tue, 26 Aug 2003 22:03, you wrote: > I am trying to use grep to match a sequence of characters followed by a > tab character (hex 09, I have looked at the file in hex) > > so whats wrong with this? > > grep "nick\t" file ; or > grep nick\t file ; or > grep nick\x09 file ; or > > any other damn variation I try! Except the correct one, which is to press CTRL-v immediately before the tab-key, and then finish the patttern with a double quote.
vis:- grep "nick<CTRL-v><TAB>" file If the pattern is in a file just put the TAB character in the file. -- Sincerely etc., Christopher Sawtell