by waterhouse · 14y ago · 0 comments
~ $ curl -s 'http://www.realworldtech.com/arm64/'{1..5}'/' --compressed > a.html; open a.html
("open" is OS X-specific; "nautilus-open" might have a similar function on Linux or something.) Interestingly, that website seems to deliver gzip-compressed output no matter what you request. % echo {1..5}
1 2 3 4 5
% echo meh{1..5}
meh1 meh2 meh3 meh4 meh5
% echo {1..5}{1..5}
11 12 13 14 15 21 22 23 24 25 31 32 33 34 35 41 42 43 44 45 51 52 53 54 55
% echo {1,2,4}{1,3,9}
11 13 19 21 23 29 41 43 49
I have observed one difference in brace expansion: {a..f} -> "a b c d e f" in bash, but "{a..f}" in zsh. Curious. Oh well.