Install seq, a sequence generator

Dec 10, '03 09:39:00AM

Contributed by: lachdrache

Today I missed having seq (from the GNU coreutils package), which prints a sequence of numbers. I downloaded the source and compiled it without any problems. The following steps assume that you already have a ~/bin directory.

Now you have seq available when ~/bin is in your path. I executed the following steps to have the man page available as well:
 % mkdir ~/bin/man
 % mkdir ~/bin/man/man1
 % cp man/seq.1 ~/bin/man/man1
Add export MANPATH=~/bin/man:$MANPATH to your .bashrc. You have to do something equivalent if you are using tcsh. Now man seq should work as well.

[robg adds: The coreutils package contains a ton of useful utilities, many of which are versions existing commands (ls, echo, cp, etc.). The package compiled successfully for me on 10.3, but I'm not planning on installing the full set of files; seq works as expected, though.]

Comments (5)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20031203122802365