bug-coreutils
[Top][All Lists]
Advanced

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

Re: join ?


From: Eric Blake
Subject: Re: join ?
Date: Fri, 17 Oct 2008 05:32:31 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

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]

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkj4d88ACgkQ84KuGfSFAYDD/ACfWm166Ipl8lZfaF6WHXnR1BUG
lFQAn0duHpvFmG6hEC7dAMcaLUpwyoS2
=v7sc
-----END PGP SIGNATURE-----




reply via email to

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