Timeline for How to fold 'grep -c <token> *.h *.cpp' into a single count?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 23, 2016 at 1:20 | comment | added | Scott - Слава Україні |
Having multiple file arguments is a good indicator that a cat is useful. But you should say cat -- *.h *.cpp to prevent a filename that begins with - from being interpreted as an option string.
|
|
| Sep 17, 2016 at 18:26 | vote | accept | CommunityBot | moved from User.Id=56041 by developer User.Id=5973 | |
| May 5, 2019 at 4:26 | |||||
| Sep 17, 2016 at 18:26 | comment | added | user56041 | Perfect; thank you very much. My apologies for asking for the answer. There's too much I don't know about bash, so I try to follow the rules others tell me. | |
| Sep 17, 2016 at 18:23 | history | answered | steeldriver | CC BY-SA 3.0 |