[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: join ?
From: |
Jim Meyering |
Subject: |
Re: join ? |
Date: |
Sat, 18 Oct 2008 10:22:06 +0200 |
Eric Blake <address@hidden> wrote:
> According to address@hidden 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.
- join ?, Maarten . Vanneste, 2008/10/17
- Re: join ?, Andreas Schwab, 2008/10/17
- Re: join ?, Eric Blake, 2008/10/17
- Re: join ?,
Jim Meyering <=