@@ -47,8 +47,8 @@ book "flex & bison", the first 30 pages should be all you need for this
4747project. I believe you can find the book online.
4848
4949You will probably need a linked list implementation. We suggest you use
50- macros from <queue.h>, those are proven macros . See "man queue" for
51- more information. STAIL_* macros should be all you need.
50+ macros from <queue.h>. See "man queue" for more information. STAIL_*
51+ macros should be all you need.
5252
5353FYI, our implementation of the complete 1st phase is 550 lines long,
5454including flex and bison source files, and using the usual C style from
@@ -291,10 +291,18 @@ you start your shell from.
291291Phase 2
292292-------
293293- pipes
294- - redirections (>, <, >>)
294+
295+ - redirections
296+ - "file >"
297+ - "file <"
298+ - ">> file"
299+ - no need to implement ">&N" etc.
300+ - whitespace is not significant (e.g. ">file", "> file" and
301+ "> file" are all syntactically correct and equivalent)
302+
295303- background execution via &
296304
297- Specific examples will be provided till the end of November but it must
305+ Specific examples will be provided by the end of November but it must
298306work in the usual fashion. For example, this works in any normal
299307Unix/LInux shell, i.e. the redirection does not have to be at the end:
300308
0 commit comments