Say I want to iterate from letter A to letter Z in csh shell. How do I succinctly do that?
In bash I would do something like
for i in 'A B C ...Z'; do echo $i; done
The point is I don't want to write A through Z, I want something like
[A-Z]
Can you suggest a one line suggestion in AWK or Perl?
perl -e 'print for "a" .. "z", "A" .. "Z", 0 .. 9'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With