Skip to content

douxiaobo/build_your_own_wc_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build_your_own_wc_tool

Complete:

Rust

  • The number of bytes: May 27, 2024

  • The number of lines: May 28, 2024

  • The number of words: May 29, 2024

  • The number of characters: May 29, 2024

  • Difficult and uncomplete, June 1,2024

  • Complete: June 2, 2024

  • Difficult within BufReader and line(), June 11,2024.

  • Difficult within charcount and bytescount, June 12, 2024.

  • Complete and Success whthin charcount and bytescount, June 14, 2024.

  • June 16, 2024: the first use nightly and benchmarks. Thanks to Teo for the suggestion.

  • June 23, 2024: Complete and Success within split.

  • JUne 25, 2024: modify code

  • June 27, 2024: modify code.

  • June 28, 2024: difficult about cat.

Dive deeper: June 4,2024: May within

stdin.lock()
BufReader
several arguments
refused have "a" as a default value
eprintln!

Dive deeper: June 8,2024: suggestion from Teo

file does not have an extension
".lines()" method, I don't know it, and never do it.
calculate all of these results at the same time

Go

Finish the wc tool on June 24, 2024.

Uncomplete:

Python

C

July 21: write code for printing command and filename.

C++

C#

complete: June 5, 2024, but there is a problem with -m command.

June 9, 2024: writing some code.

June 10, 2024: lack of some error.

Java

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published