以下の内容はhttps://iww.hateblo.jp/entry/20150109/iriaより取得しました。


連番のURLを展開する

./tenkai.pl http://example.com/[7-11].pdf

http://example.com/7.pdf
http://example.com/8.pdf
http://example.com/9.pdf
http://example.com/10.pdf
http://example.com/11.pdf

に展開するスクリプト

#!/usr/bin/perl

$url = $ARGV[0];

$url =~ /^(.*)\[(\d+)\-(\d+)\](.*)$/ or die;
$A = $1;
@list = $2 .. $3;
$C = $4;

foreach $B (@list){ print "$A$B$C\n"; }


[07-11].pdf のようなゼロでパディングの形式でも対応可能




以上の内容はhttps://iww.hateblo.jp/entry/20150109/iriaより取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14