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 | |
#Author: Stephan Schmitz, https://github.com/eyecatchup, <eyecatchup@gmail.com> | |
#Based on work by: Michael Bianco, http://developer.mabwebdesign.com/, <software@mabwebdesign.com> | |
#Description: Bash script to create a pretty-printed version of a minified CSS file. | |
# Note: Requires GNU sed. See: http://www.gnu.org/software/sed//sed.html | |
#Usage: prettyCss.sh inputfile [outputfile] | |
# If [outputfile] is not given, pretty-printed CSS will be send to stdout. | |
SED_COMMAND=/bin/sed # NOTE: Change the SED_COMMAND variable value to the path to your GNU sed! |