Doesn't Cygwin provide the "more" command?
It's not available in my Cygwin. The "less" command is provided, on the other hand. Maybe the makers of Cygwin think that "more" is just redundant.
I'm cur开发者_开发技巧ious about that.
Install the util-linux package and you will have "more"
http://cygwin.com/cgi-bin2/package-cat.cgi?file=util-linux%2Futil-linux-2.17.2-1
it does - type which more
and you'll get something like this:
/usr/bin/more
If the more command is not available, you could define a symlink to /usr/bin/less
, or define an alias. I have Cygwin v1.7.9 installed with literally everything included, it's possible that you have an older version partially installed that doesn't supply more. You can find out what version, you're using like so:
$ uname -a
CYGWIN_NT-5.1 ws-02615 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
Cygwin's installer setup.exe has a search box which allows you to search for utilities you need. Unfortunately this doesn't work if the utility is included in a Cygwin Package in this case you need to use the online search provided here:-
https://cygwin.com/packages/
More is in util-linux (see @joseph) which you can install by typing util-linux into the setup.exe search box (or just linux)
the other package I always need is cygutils-extra as it includes putclip & getclip
精彩评论