Giter VIP home page Giter VIP logo

wc_java's Introduction

WC

WC, a unix commands, developed in JAVA

##Version 1.0

- Introduced option -L for getting the largest line of a file
- Introduced option -S for getting the smallest line of a file
	
	Example:
		one.txt: Hello World
				 How are you?

		Run as : java wc one.txt -L

		Output:	 12 How are you? one.txt
	
	Example:
		one.txt: Hello World
				 How are you?

		Run as : java wc one.txt -S

		Output:	 11 Hello World  one.txt

##Version 0.4 Build 101

- File reading is fixed
- User can read any file by giving the path
- Options are working along with the filename
- Indentation is fixed

##Version 0.4 Build 100

- File reading is fixed
- User can read any file by giving the path

##Version 0.4

Options are introduced. For getting number of lines and byte count and number of words,
you have to enter -w.
	
	Example:
		one.txt: Hello World
				 How are you?

		Run as : java wc one.txt -w

		Output:	 5 one.txt

##Version 0.3

Options are introduced. For getting number of lines and byte count,
you have to enter -c.
	
	Example:
		one.txt: Hello World
				 How are you?

		Run as : java wc one.txt -c

		Output:	 24 one.txt

##Version 0.2

Options are introduced. For getting only number of lines,
you have to enter -l.
	
	Example:
		one.txt: Hello World
				 How are you?

		Run as : java wc one.txt -l

		Output:	 1 one.txt

##Version 0.1 Build 100

1. Multiple spaces fixed

##Version 0.1

WC will take a text file from user and provides, - Number of lines on that file - Number of words on that file - Number of byte of that file

	
	Example:
		one.txt: Hello World
				 How are you?

		Run as : java wc one.txt

		Output:	 1 5 24 one.txt

wc_java's People

Contributors

phoenixtw avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.