 Okay in this tutorial we're going to be using grep, which is a tool we use all the time But we're going to use it to search for lines that contain tabs. I have two techniques for doing this both fairly similar So here's an example. I'm going to cat out file 2.txt. I have a file that has a few lines in it And a few of the lines have tabs Some don't this one doesn't this one doesn't and this one doesn't So let's say we want to find just the lines containing tabs. We can say grep and We can do a dollar sign and then tell it backslash t Inside single quotes there in the name of the file file 2.txt And so this is saying to look regular expression tab So there it is finding lines Containing tabs if we don't give it the dollar sign it thinks we're looking for t's and it will find all lines containing t's Not really sure what the dollar sign stands for there if you're a viewer and you know what it stands for in this case Comment below. It might just be another way of saying another way that I'm going to show you here is if we do this dash P capital P What it's telling grep to do is When it's looking at regular expressions to use pearl regular exceptions because different languages use regular expressions differently And here it's telling it to use pearls So if you're a pearl programmer, which is one language I have not really gotten into But if you are you're probably familiar with regular expressions for pearl well now you can use them in grep With the dash P option there. So there we get the tabs I'm not saying this is the only way to grep for tabs But this is these are the two ways I found once again I'm not really sure what the dollar sign stands for there might just be another way to say to use pearl tabs Or pearl regular expressions if you know comment below. Let me know I hope you found this useful if you're searching for tabs and of course if you want the reverse You can always do dash I here and I'm sorry not that shy That shy is case and set sensitive dash V will give you a reverse search So instead of finding all lines with tabs it will output all lines without tabs and that's true with anything you search So if I was to search for lines containing the word tab This will give me the reversals give me all lines without tab with a capital T And of course you can always do dash. I Which says case and sensitive so here we get all lines that don't contain tab regardless of The case so through a few little extra things in there at the end. Hope you found this useful I hope you visit my website films by Chris comm that's Chris the K check out the link in the description And I hope that you have a great