我正在尝试这样的一行:
for i in {1..600}; do wget http://example.com/search/link $i % 5; done;
我想要得到的输出是:
wget http://example.com/search/link0
wget http://example.com/search/link1
wget http://example.com/search/link2
wget http://example.com/search/link3
wget http://example.com/search/link4
wget http://example.com/search/link0
但我实际上得到的只是:
wget http://example.com/search/link