Project: lb_wc

Node.js·1 min read·Apr 17, 2025

counter illustration

In Unix, the wc utility displays the number of lines, words, and bytes contained in each input file, or standard input (if no file is specified) to the standard output.

The objective of this project is to write a Node.js script that partially reimplements the wc utility.

General instructions

Here are the general instructions to complete this project:

  1. The script must be named lb_wc.js.

  2. The script must be written in Node.js.

  3. The script must have the following synopsis:

    $ node lb_wc.js [-l] [-w] [-c] [file ...]

    Where:

Unlock the program 🚀

Pay once, own it forever.

€79

30-day money-back guarantee

  • 13 modules
  • 113 lessons with full-code examples
  • 29 projects with commented solutions
  • All future lesson and project updates
  • Lifetime access

By submitting this form, you agree to the Terms & Conditions and Privacy Policy.