Sedang Disiapkan

Create a simple Java program similar to Linux tail command ([url removed, login to view])

Create a simple Java program similar to Linux tail command ([url removed, login to view])

1. Create a Simpletail command line program similar to Linux tail but with limited functionality. Linux tail manual is available at [url removed, login to view]

2. Simpletail must support at least the following functions:

- show last n lines of a file

- optional number of lines option

- help message

- error reporting in case of invalid parameter or file

Please note that live watch function (as in tail -f option) is not required.

For example:

>java -jar [url removed, login to view] -n 3 [url removed, login to view]

> return result;

> }

>}

>java -jar [url removed, login to view] –help

>usage: simpletail [-n lines] file

>java -jar [url removed, login to view] -n -1 [url removed, login to view]

>ERROR: invalid number of lines -n

3. Simpletail must be built as a standalone jar ([url removed, login to view]). Instructions must be provided and it

should be easy to build.

4. Simpletail must be reasonably optimized. For example, reading whole file into an array and extract

the tail is unacceptable.

Unit tests may be included.

5. Simpletail should contain a reusable tail API.

6. Simpletail should be able to handle Unix, Macintosh and Windows newlines.

Kemahiran: Java, Linux

Lihat lebih lanjut: java tail http, java tail, java man command, java program tail command, simple reporting, in line program, simple c# program, simple c program , man, java standalone, die line, create instructions, create a simple program, create a java jar file, build java api, build a java program, java reading, java program simple, java simple array, simple java function, java simple example, java simple function, simple java server, command line java linux, test java function

Tentang Majikan:
( 0 ulasan ) Kuala Lumpur, Malaysia

ID Projek: #4056222

Dianugerahkan kepada:

poornachand

I can make it in few hours.

$3 USD / jam
(47 Ulasan)
5.8

4 freelancers are bidding on average $3/hour for this job

ingila

Hi I can do it in a few hours. I have made an app very much similar to this. Check pm for its screen shots.

$3 USD / jam
(0 Ulasan)
0.0
skyjob

doing as fast as i can =)

$3 USD / jam
(0 Ulasan)
0.0
joseflores

i can do it in few hours..

$2.5 USD / jam
(0 Ulasan)
0.0