Mercurial > ec-dotfiles
view bin/mgren @ 52:d07ce874a280
[bash] securing test. Should use bashism but I hate bashism.
author | Edho Prima Arief <me@myconan.net> |
---|---|
date | Wed, 27 Apr 2011 11:50:03 -0400 |
parents | 94ee419ad047 |
children |
line wrap: on
line source
#!/usr/bin/env ruby TITLE_MAPS={ "otaku no musume-san" => 1 } TITLE_REAL={ 1 => "Otaku no Musume-san" } def get_title end ARGV.each do |file| next unless File.file?(file) and File.readable?(file) end