@@ -62,9 +62,10 @@ arrays would not suffice. We suggest you to use macros from <queue.h>.
6262See "man queue" for more information. STAIL_* and TAIL_* macros should
6363be all you need.
6464
65- FYI, our implementation of the complete 1st phase is 560 lines long,
66- including flex and bison source files, and using the usual C style from
67- http://mff.devnull.cz/cstyle/.
65+ FYI, our implementation of the 1st phase is 560 lines long, including
66+ flex and bison source files, and using the usual C style from
67+ http://mff.devnull.cz/cstyle/. Our complete implementation including
68+ the 2nd phase requirements fits within 900 lines of code.
6869
6970IT GOES WITHOUT SAYING IT IS AN INDIVIDUAL, NOT A TEAM PROJECT. DO NOT
7071USE CODE WRITTEN BY OTHER FELLOW STUDENTS. THE IDEA IS YOU LEARN BY
@@ -408,31 +409,31 @@ instead) and just exits finding STDIN empty:
408409
409410Anything not listed above is NOT required
410411-----------------------------------------
411- I.e. we do NOT require any of these below:
412+ I.e. in particular, we do NOT require any of these below:
412413
413414- background execution via &
414415
415- - Variable support (i.e. "echo $HOME" nor "XXX=value ./a.out")
416+ - environment variable support (i.e. "echo $HOME" nor "XXX=value ./a.out")
416417
417- - The "export" internal command.
418+ - the "export" internal command.
418419
419420- Job control. That also means there is no need to create a new process
420421 group for each pipeline (that's what a normal shell does). However,
421422 if you do, you will need to solve how background processes the control
422423 terminal as that was out of scope of our class.
423424
424- - Support for $? etc.
425+ - support for $? etc.
425426
426- - Strings , i.e. the following is not required:
427+ - string support , i.e. the following is not required:
427428
428429 $ echo "xxx yy"
429430 xxx yy
430431
431432- `` and $( ... )
432433
433- - no complex commands like "if", "while", "for", "switch", etc.
434+ - complex commands like "if", "while", "for", "switch", etc.
434435
435- - no line continuation with '\'
436+ - line continuation with '\'
436437
437438If unsure, either ask on our class mailing list or check what bash does.
438439
0 commit comments