This file contains hidden or 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
#!/usr/bin/ruby | |
#Formats CSS | |
input, output = ARGV | |
#Input | |
if input == nil or output == nil | |
puts "Syntax: #{$0} [input] [output]" | |
exit | |
end |
This file contains hidden or 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
# Echoes the name of the current screen, if any | |
function getScreenName { | |
if [ ${STY:-""} == "" ]; then | |
screen_name="" | |
else | |
screen_name="(`echo "${STY}" | sed 's/^[^\.]*\.//'`)" | |
fi | |
echo $screen_name | |
} |
OlderNewer