Eric Blake <[EMAIL PROTECTED]> wrote:

> According to [EMAIL PROTECTED] on 10/17/2008 4:08 AM:
>> For example, I created the following files:
>> echo 84 150 | gawk '{for (i=$1;i<=$2;i++) printf "%i %s\n", i,"A"}' >
>> testA
>
> Unrelated to your question (Andreas already answered - your input isn't
> sorted), but why not use seq, for fewer processes and less typing?
>
> seq --format '%g A' 84 150 > testA
>
> [Hmm.  'seq 10 --help' dies with:
> seq: invalid floating point argument: --help
> Try `seq --help' for more information.

Not pretty. and not consistent with most of the other tools.

> We should probably try to fix seq to use getopt, while being sensitive to
> the recent changes in expr, so that options can appear out of order like
> most GNU tools, while negative numbers are still recognized as such rather
> than options]

Good idea.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to