Grep Whole Word - Web use \b to match on word boundaries, which will make your search match on whole words only. Select only those lines containing matches that form. So your grep would look something like. Grep '\sdusp1\s' file to ensure that there's. But if you need to search multiple patterns you can use the \b, otherwise all patterns. You should try this command : Web with grep, you can perform simple searches, recursive searches, search for whole words, use multiple search terms, count matches, add context, and even pipe.
Grep '\sdusp1\s' file to ensure that there's. Web with grep, you can perform simple searches, recursive searches, search for whole words, use multiple search terms, count matches, add context, and even pipe. So your grep would look something like. But if you need to search multiple patterns you can use the \b, otherwise all patterns. Select only those lines containing matches that form. Web use \b to match on word boundaries, which will make your search match on whole words only. You should try this command :