coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: seq feature: print letters


From: Bernhard Voelker
Subject: Re: seq feature: print letters
Date: Thu, 03 Jul 2014 08:18:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]