Re: need enhance feature for CBO :)

  • From: "Jared Still" <jkstill@xxxxxxxxx>
  • To: "Mark W. Farnham" <mwf@xxxxxxxx>
  • Date: Thu, 13 Nov 2008 08:17:04 -0800

On Thu, Nov 13, 2008 at 3:21 AM, Mark W. Farnham <mwf@xxxxxxxx> wrote:

> and you can spend your time figuring out the best way to
> generate a list of values from 0 (or 1) through the max value. (That might
> be perl [grinning in Jared's direction]


This works - just change the argument 2000 to whatever.
The second argument (end of the line) is the delimiter to print.

perl -e '@x=(1..$ARGV[0]);print join(qq{$ARGV[1]},@x)' 2000  ' '

:)

Other related posts: