[arch-general] OT: dash - looping through alphabet
lolilolicon
lolilolicon at gmail.com
Sun Jul 6 09:16:59 EDT 2014
On Sun, Jul 6, 2014 at 8:52 PM, Karol Blazewicz
<karol.blazewicz at gmail.com> wrote:
>
>
> You can use
>
> echo $(seq -s '' 1 9)
>
> for number sequences, but I don't think you can do it with letters.
Following this line of thought, one can combine seq with printf to
produce {a..z}:
for i in $(seq 97 122); do
printf "\x$(printf %x $i)\n"
done
More information about the arch-general
mailing list