Dictionary entry
grepped
Last updated
“grepped” is a form of “grep”.
Meaning
verbtransitivecomputing
searched for a pattern in text or files using the grep tool.
Grammar: Takes an object: grepped the log file.
Patterns
- grep something
- grep for something
- grep through something
She grepped the server logs for error messages.
He grepped through the source code to find the function name.
They grepped the configuration file for the word 'timeout'.
Word forms
| base form | grep |
|---|---|
| third person singular | greps |
| present participle | grepping |
| past tense | grepped |
| past participle | grepped |
Common combinations
- grep for a string
- He grepped for the string '404' in the access log.
- grep through files
- She grepped through all the files in the directory.
- grep the output
- You can grep the output to filter only the warnings.
Synonyms and how they differ
Word family
- grep verb
- To search for a pattern in text using the grep tool.
- grep noun
- The command or tool used for such searching.
Practice
She ___ the log file to find the IP address.
Choose one answer.
The past tense 'grepped' fits because the action happened in the past. 'Grep' is the base form and would be used with 'did' or after 'to'; 'grepping' is the -ing form and needs a helping verb; 'greps' is present tense and does not match the past-time context.
Make it your own
Write a sentence using “grepped”, then check it and compare it with the examples above.