Skip to content

Davis_Chambers submission#3

Open
davissage wants to merge 12 commits into
araiho:masterfrom
jchambe5:master
Open

Davis_Chambers submission#3
davissage wants to merge 12 commits into
araiho:masterfrom
jchambe5:master

Conversation

@davissage

Copy link
Copy Markdown

No description provided.

@araiho araiho left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

good job! Thanks for providing output! 2.9/3

Comment thread ex4q3output.txt
@@ -0,0 +1,3 @@
yearsSchool wage
16 9.4361877801
12 0.1028907398

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

We're looking for the difference here, but good job getting the important values.

Comment thread ex4q1.sh
# filename you want worked on, $2 filename you want it to print to

cat "$1" | tr "," " " | awk '{print $1 " " $2}' | uniq > hold.txt
cat hold.txt | sort -k1.1d,1 -k2.2n,2 | uniq > "$2"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Careful with the naming here 'hold.txt' is not that informative

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants