Solution 1: Telling a UNIX System What to Do

Let’s solve the challenges set in the previous lesson.

Solution 1

Here’s the code for the wc(1) UNIX utility with the byCharacter.go, byLine.go, and byWord.go functionalities.

Get hands-on with 1200+ tech skills courses.