Search Results

Search: Posts Made By: cotilloe
7,120
Posted By cotilloe
I did not see your reply with the alternate code....
I did not see your reply with the alternate code. Thanks for that. As far as the "algorithm", lol, there really is nothing more to it. The actual file does not contain student grade data but it does...
7,120
Posted By cotilloe
Wow, very simple. But why wouldn't it work the...
Wow, very simple. But why wouldn't it work the way I was trying? (Using an if/else block)
What does the 'R' represent in the second arg for the function?
7,120
Posted By cotilloe
I got 575.25 outside of the script. There are 7...
I got 575.25 outside of the script. There are 7 Homework assignments, 7 Labs, 7 Quizzes and 1 Final with a total of 100 points possible on each. Then there is the survey worth a possible 5 points.
...
7,120
Posted By cotilloe
Ok, I think i have the basics of how to use the...
Ok, I think i have the basics of how to use the two files then. So, using the snippet of code you posted gives the total points for each student, but how do I divide those by 575.25 to get the final...
7,120
Posted By cotilloe
Wow, thanks. I did not know how that worked. So...
Wow, thanks. I did not know how that worked. So basically, it works like CSS sort of, as long as I mention the file name at the end, it will look in those files for the input?

Just want to be sure...
7,120
Posted By cotilloe
That actually helps alot, as I had tried...
That actually helps alot, as I had tried something like that. What I tried to do was:


SUM[$1] += $4*0.1


That did not work, but by storing the weights in in an array, I see how it could be...
7,120
Posted By cotilloe
Ahh!! Thanks for that info. It explains why I get...
Ahh!! Thanks for that info. It explains why I get the repeated output headers then. Also, I did not realize that about the END statement. I understood it as you do not perform anything in BEGIN, but...
7,120
Posted By cotilloe
Problem with getting awk to multiply a field by a value set based on condition of another field
Hi,

So awk is driving me crazy on this one. I have searched everywhere and read man, docs and every related post Google can find and still no luck. The actual files I need to run this on are...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 01:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy