-
finding a "tab" with grep
Hey folks, another linux/unix newbie here trying to get some basics down. I cant seem to find out how to search for a "tab" using the grep command. Here are some things ive tried so far:
grep '<tab>' filename
grep '(actually hitting tab here)' filename
grep '/t' filename
grep '\t' filename
grep '[[:space:]]' filename
etc etc.
Does anyone know what the proper way to search for a tab is? The actual reason i need it is of course much more complicated than this example but just knowing how to find tab would be enough. Thanks a ton!
--Morphman, Linux Newbie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|