Skip to content

An implementation of the Unix command wc in Typescript as seen on Coding Challenges.

License

Notifications You must be signed in to change notification settings

codedbypaul/ccwc-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ccwc-ts

An implementation of the Unix command wc in Typescript as seen on Coding Challenges.

Usage

wc <filename> or to use a pipe cat <filename> | wc

Options

  • -c - Outputs the number of bytes
  • -l - Outputs the number of lines
  • -w - Outputs the number of words
  • -m - Outputs the number of characters. [1]

If no option specifed, defaults to -c, -l and -w options.

[1] Will match the -c option if the current locale doesn't support multibyte characters.

About

An implementation of the Unix command wc in Typescript as seen on Coding Challenges.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published