Skip to content

Oak is adding pipes and filters #357

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

Open
wants to merge 11 commits into
base: gh-pages
Choose a base branch
from
Open

Oak is adding pipes and filters #357

wants to merge 11 commits into from

Conversation

Blucka12
Copy link
Contributor

The post should be visible at:
http://blucka12.github.io/spring2014/
I'm not seeing it just yet, but I think it should have gone through...

@gerbal
Copy link
Contributor

gerbal commented Mar 18, 2014

@Blucka12 only the gh-pages branch shows up on the github.io site

1. -n has the effect it has because it gives us a numbered list as the output
2. wc -l < mydata.dat reads the input of the contents of the file "mydata.dat" and gives a list, whereas wc -l mydata.dat gives a list from the file itself and goes straight to the screen.
3. "sort" is another command that can pipe with the "uniq" command.
4. To be honest, I'm a little confused about this one. I took "cat animals.txt | head -5 | tail -3 | sort -r > final.txt" and substituted "cubane.pdb" for "animals.txt" and "final.pdb" for "final.txt", the last of which was probably not necessary...but oh well. The output was <imgur screenshot file> So, from what I got, it took the first three lines and outputted them in reverse order. So the head -5 part is still a little weird to me...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to insert your imgur screenshot file and answer question 5.

@Blucka12
Copy link
Contributor Author

Blucka12 commented Apr 2, 2014

Hey @eah13 @gerbal I made some changes, and think most of the issues should be fixed. Sorry for the back-up on my end...I'll work to keep it from happening much from here out...

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

Successfully merging this pull request may close these issues.

3 participants