Exercises
- Visit the documentation page of the
bufio
package that can be found at https://golang.org/pkg/bufio/. - Visit the documentation of the
io
package at https://golang.org/pkg/io/. - Try to make
wc.go
faster. - Implement the functionality of
tabSpace.go
, but try to read your input text files character by character instead of line by line. - Change the code of
tabSpace.go
in order to be able to get the number of spaces that will replace a tab as a command-line argument. - Learn more information about the little endian and the big endian representations.