Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ The members of this project are:
2) John Sanchez
3) Redden Money

proj_1_gonzalez_sanchez_money.tar contents:
cssh.c // main implementation
makefile
project1_gonzalez_sanchez_money.tar contents:
README
shell.c // main implementation
makefile


Completed using: linprog

Expand All @@ -21,10 +23,24 @@ To Clean:
$> make clean

Known Bugs & Unfinished Portions:
• Piping works, but only one can be used at a time.
-> Results from lack of implementation for when an additional "pipe-in" target is supplied.
• Background processing is somewhat unfinished. (Zombie processes might occur)
• "io" command is unfinished.
->Attempted to complete the built-in using flags and opening the proc/pid/io file.
->Attempt resulted in the fact that variables are not universal between processes, as well as possible path resolution issues.
• Path resolution is simple.
->Ex: "cd ~" works, "cd ~/DIRNAME" gives an error.
->Resulting from the lack of splitting the special characters and environment variables from the rest of the line.
• There needs to be whitespace between the redirection/pipe and the command.
• "echo" built-in does not signal an error when there is a non-existent environment variable.
->"echo" built-in also does not account for single or double quotes.
• "$SHELL" environment variable p

Special Considerations:


• In the "exit" built-in, clock_gettime() was used instead of gettimeofday(), which is not always available to certain (notably older)
Linux versions, along with it being absent on Mac...

==============================
==============================
Report
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

cssh: cssh.c
gcc -lreadline cssh.c
gcc -lreadline shell.c

clean:
rm a.out
Loading