Mark McIntyre <ma**********@spamcop.netwrites:
On Fri, 26 Oct 2007 22:10:02 -0700, in comp.lang.c , Pirate
<ya************@gmail.comwrote:
>>i can't find the 'more' command source code on the internet. if you
know the source code , can you tell me where it is ? i'm reading the
the sources code of the linux command.
This is offtopic here. However you could try the gnu text utils in the
gnu archives.
The redirection is appropriate, but mistaken. The GNU textutils
package has been incorporated into the coreutils package. However,
there is no "more" command in textutils or coreutils; there is,
however, a "less" command which is an enhanced replacement for "more".
On one system I use, the "more" command is part of the "util-linux"
package; you should be able to find the source for that. (It's
probably a reimplementation of the original Unix "more" program.)
For more information, try comp.unix.programmer.
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"