The Unix rev utility reverses lines in a file. How do I get this under Cygwin? Which package do I need to install?

link|improve this question
feedback

2 Answers

Package util-linux contains rev. I found out using the Debian package search.

link|improve this answer
Yes, you should be able to run the Cygwin setup utility and find and install util-linux. – Zeke Hansell Mar 9 '11 at 16:05
More relevantly, there's the Cygwin package search at cygwin.com/packages. – ak2 Mar 9 '11 at 19:20
feedback

Use tac or sort -r from GNU coreutils.

link|improve this answer
rev actually reverts the letters on each line, not the lines in a file. – Sjoerd Mar 9 '11 at 15:16
@Sjoerd: Thanks for the information. – grawity Mar 9 '11 at 19:01
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.