суббота, 26 октября 2013 г.

Java 7. Find yourself what's new?

During the reading of Code Complete 2e I've come across the grep example. This utility helps you to find files matching your search criteria.
If you have a javadoc and you want to find out what's new then you can use the following example:

duglas@duglas-ThinkStation /usr/share/doc/openjdk-7-doc/api $ grep -R -l --include="*.html"   "<dd>1.7</dd>" . > /home/duglas/j.txt



This command will find all files that have been changed or added to the JDK 1.7. Moreover it allows you not only to rely on the what's new file but to explore the changes to the JDK documentation by yourself.

Комментариев нет:

Отправить комментарий