2 karma · joined Nov 8, 2014 (12y ago) · 2 submissions
comment 11y ago · link · parent
/ @file shell.c / #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> #include "log.h"
log_t Log;
/**
* * Starting point for shell.
* */
int main(int argc, char ** argv) {
/**
* * Analyze command line arguments
* */
while(1)
{
/**
* * Print a command prompt
* */
/**
* * Read the commands
* */
/**
* * Print the PID of the process executing the command
* */
/**
* * Decide which actions to take based on the command (exit, run program, etc.)
* */
}
return 0;
}
The provided code is rather sparse (by design), but the University holds copyright on it.comment 11y ago · link · parent
Homework boilerplate is distributed to students through private SVN. This typically includes some method headers or libraries. We then complete the assignment to specifications and commit it through SVN, where it is graded programmatically. Therefore, we can't modify some of the headers.
The class has been taken over by a new professor. As such, it is being totally restructured and the assignments are largely being changed now. However, when I took the class with 250+ other students, plagiarism was rampant.
As far as I'm aware, the course staff has indeed contacted individual repo owners on Github for take down.