New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better explanation of 'cut' command in Pipes and Filters session #868

Open
JeanShuler opened this Issue Nov 27, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@JeanShuler

JeanShuler commented Nov 27, 2018

Better explanation of cut command recommended and the cut command was not introduced prior to using it.


In the cut -d , -f 2 animals.txt example there should be a better explanation of the "d" and -'f" option.
The cut command is used to cut sections from each line of files and then write the results to standard output.
the 'd' option is a delimiter so the comma (,) is the delimiter
the 'f' option is the 'field number" so the number 2 is the field number.


@JeanShuler JeanShuler closed this Nov 27, 2018

@ErinBecker ErinBecker reopened this Nov 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment