Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • More of what my question is related to is why I am getting any output at all. If you change the delimiter to a comma, you get the following output: ``` sophomore freshman ``` Which makes sense. if you then change it to field 4, you get empty output, which still makes sense. But shouldn't I be getting no or blank output in the original example? Commented Jan 26, 2024 at 21:05
  • You may also need to fix your field parameter -f, but I cant tell you that until I see students.txt Commented Jan 26, 2024 at 21:09
  • The contents of students.txt is shared in the original post. Commented Jan 26, 2024 at 21:10
  • I believe you also need a space after -f Adding it should only print senior and nothing else Commented Jan 26, 2024 at 21:19