Created
June 2, 2015 17:46
-
-
Save zeroasterisk/9f788d2e30508c0612f0 to your computer and use it in GitHub Desktop.
Dart scan for terms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In this example, I am scanning for all of these classes | |
https://github.com/awatson1978/clinical-ui-vocabulary/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for SEARCH in fixed-layout left-anchored right-anchored bottom-anchored top-anchored right-aligned left-aligned absolute-layout fixed-layout gray-border with-rounded-corners monospace clickable unselectable well-behaved padded padded-horizontal with-horizontal-padding horizontally-padded padded-vertical with-vertical-padding vertically-padded with-right-padding with-left-padding without-padding nopadding no-padding without-right-padding without-left-padding without-top-padding without-bottom-padding without-vertical-padding without-horizontal-padding dark light white black gray lightgray darkgray transparent glass fog mostly-opaque red blue green maroon | |
do | |
echo $SEARCH | |
ag -c -G .html "\b${SEARCH}\b" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment