devops-exercises/exercises/shell/count_chars.md
2021-11-07 17:54:06 +02:00

253 B

Count Chars

Objectives

  1. Read input from the user until you get empty string
  2. For each of the lines you read, count the number of characters and print it

Constraints

  1. You must use a while loop
  2. Assume at least three lines of input