On 07/03/2014 02:02 AM, Assaf Gordon wrote: > if the user has to type them explicitly, then seq is no better > than "printf '%s\n' " followed by all the letters typed by the user...
The user could let the shell produce the input: $ printf "%c" {a..z} | seq -s ' ' --alpha=- 2 2 6 b d f thus picking the Nth character from the input. ;-) Have a nice day, Berny