[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

How do I use grep to search for "printf <any string of characters>" then three dots "..." ?

Hi,

The subject says it all - whats the grep regular expression to find any variant on the following line:

int my_printf (const char *format, ...);

so, the match would be: printf<any string of characters> then three dots "..."
0
Risky101
Asked:
Risky101
1 Solution
 
jlevieCommented:
grep -e "my_printf.*\.\.\."
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now