Skip to content

Clarify statement "the total count of each type of animal" in "Pipes and filters" challenge #1453

@DaniMori

Description

@DaniMori

How could the content be improved?

Very minor improvement, but I'd like to suggest to correct this exercise statement (which led me to confusion while reading it for the first time):

the total count of each type of animal in the file?

My first impression was that what was being asked was, e.g. "the total number of deers, rabbits, etc." which, as understood from the naming of files and folders, could be "the sum of the last column, for each type of animal" (i.e. aggregating all the counts in all the dates).

Only after seeing the solution I noticed that it is "the total number of times each animal appears in the file" (that is, how many lines contain each animal type).

I'd suggest to change it to

-the total count of each type of animal in the file?
+how many times each type of animal appear in the file?

Which part of the content does your suggestion apply to?

https://github.com/swcarpentry/shell-novice/blob/main/episodes/04-pipefilter.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions