2 ms·
grep '[0-9_]+'|sed 's/_//g'|grep <my-constant>
by gpderetta 4y ago
grep '[0-9_]+'|sed 's/_//g'|grep <my-constant>
- amalgamated_inc 4y agoThat's kind of a handful to type every time :) I'd just do for the first one and then scan for the number I'm interested in. If you have more than a page full of constants..
- nicoburns 4y agoYou can make it an alias. No need to type it every time!