"Head.class" is a Java command-line utility that outputs the first n-lines from a file or STDIN. It is a port of the UNIX "head" utility to Java. If the number of lines is not specified, "Head.class" defaults to outputting ten lines.
"Head.class" is distributed as Freeware. Please see the "Freeware License Agreement" elsewhere on this site.
java Head [ -NumLines ] [ "file 1" . . . "file N" ]
C:\>type autoexec.bat | java Head -1
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
11 Users Online
Copyright © 1996 - 2018. All Rights Reserved.