Created
June 26, 2014 08:55
-
-
Save youz/b51e1c3ac1bf3338657d to your computer and use it in GitHub Desktop.
powershellから達人出版会の新刊をpecoで選ぶやつ
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
param([switch] $All) | |
$OutputEncoding = [System.Text.Encoding]::UTF8 | |
$c = if ($All) { "all" } else { "new" } | |
irm "http://tatsu-zine.com/catalogs/$c.opds" | | |
%{$_.title + "`0" + ($_.link | where {$_.rel -Match "/buy"}).href} | | |
peco --null | | |
%{start $_} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment