-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. 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 [EMAIL PROTECTED] -----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----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils