Created
June 8, 2011 01:00
-
-
Save calvinf/1013574 to your computer and use it in GitHub Desktop.
Search CSS files for every background-image URL and output unique URLs in a list
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
ack -o -h --nogroup --css 'url\((.*)\)' --output "\$1" | ack -o "^['\"](.*)['\"]$" --output "\$1" --passthru | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment