Commit graph

1453 commits

Author SHA1 Message Date
Jack Halford
c6273f22d6 Merge branch 'master' of https://github.com/jzck/minishell 2016-12-01 12:36:13 +01:00
Jack Halford
9b85099485 env -i ./minishell quits and doesnt segfault. fixed behaviour for builtins in pipeline (fork when out isnt stdout) 2016-12-01 12:35:37 +01:00
Jack Halford
0188b7d012 env -i ./minishell auits and doesnt segfault. fixed behaviour for builtins in pipeline (fork zhen out isnt stdout) 2016-12-01 12:31:16 +01:00
Jack Halford
07b8519239 added &&,|| and & operators to lexer/parser 2016-11-30 22:09:55 +01:00
Jack Halford
af6452358c libft submodule reinit because of detached head state 2016-11-29 20:40:53 +01:00
Jack Halford
54a6cdecb0 pipes and redirection working 2016-11-29 20:30:36 +01:00
Jack Halford
4e04fd6ad4 Create README.md
extract of man page with which ft_ls complies
2016-11-29 17:10:07 +01:00
Jack Halford
8a77d613fe Create README.md 2016-11-29 16:52:26 +01:00
Jack Halford
a907344b36 pdf 2016-11-29 16:51:59 +01:00
Jack Halford
1ac56a21e8 quoting FSM repaired 2016-11-29 15:39:39 +01:00
Jack Halford
3c0bd77766 libft 2016-11-28 19:31:19 +01:00
Jack Halford
569812ddcb pipeline working, added stack of old qstates to make the FSM adiabatic 2016-11-28 19:30:31 +01:00
Jack Halford
b59f05eb77 test.c to understant pipe() 2016-11-27 23:52:36 +01:00
Jack Halford
dc1ae04a22 no gitmodules 2016-11-27 14:16:47 +01:00
Jack Halford
688bde4a66 no tags 2016-11-27 14:16:13 +01:00
Jack Halford
b6bcd9e6f2 libft fclean 2016-11-27 14:02:33 +01:00
Jack Halford
4bb1b1c81c makefile words... 2016-11-27 13:53:20 +01:00
Jack Halford
922a978890 libft not submodule 2016-11-27 13:47:59 +01:00
Jack Halford
e61be29d48 ready to push 2016-11-27 13:29:31 +01:00
Jack Halford
b0e7229c54 stuck at dup2 2016-11-26 23:05:23 +01:00
Jack Halford
bc038dbe4a libft updt 2016-11-25 18:35:38 +01:00
Jack Halford
d931c172d1 norm , acl and thats it (color done) 2016-11-25 18:34:58 +01:00
Jack Halford
aa456796ac parsing virtually finished exept heredoc 2016-11-24 23:11:07 +01:00
Jack Halford
d7c7816207 libft back to submodule until i've definitely finished the project 2016-11-24 12:20:58 +01:00
Jack Halford
a983057653 libft changed name to readd submodule 2016-11-24 12:11:56 +01:00
Jack Halford
031045fbe3 many bonus' done, need to fix norm now xD 2016-11-23 18:55:23 +01:00
Jack Halford
c23ee4d832 starting to clear moulitest errors, still much to do apparently 2016-11-22 17:12:29 +01:00
Jack Halford
f249b18aec norme ok 2016-11-21 18:27:03 +01:00
Jack Halford
4cc6576d32 libft not a submodule anymore (not allowed for rendu) 2016-11-21 17:37:18 +01:00
Jack Halford
aaa463be6a setuid, getgid and sticky bit now handled :D 2016-11-21 17:34:55 +01:00
Jack Halford
a341bcf800 no more leaks :))),still have to look at weird permission displays like sticky bits n shit 2016-11-21 15:52:01 +01:00
Jack Halford
2f2e7c03b1 nice tree printing, starting to look good 2016-11-20 23:32:39 +01:00
Jack Halford
bce0f37b8e major stuff today: wrote a proper lexer based on finite state machines, quoting OK. next is finishing the parser, and history of line editing module 2016-11-18 23:16:32 +01:00
Jack Halford
74f9916047 input is now char* not dlist, started to write FSM for quoting git add --all 2016-11-18 00:00:32 +01:00
Jack Halford
f8d3967a8d leak problems and days work 2016-11-16 18:33:57 +01:00
Jack Halford
e3725aa547 libft btree 2016-11-15 20:21:35 +01:00
Jack Halford
5f329666d3 more parsing and some exec 2016-11-14 18:50:18 +01:00
Jack Halford
2684824c50 no more leaks (checked with valgrind 2016-11-14 11:13:38 +01:00
Jack Halford
92f2557e7e libft btree 2016-11-13 23:59:34 +01:00
Jack Halford
79cc1f4e2a libft updated for btree 2016-11-12 23:54:33 +01:00
Jack Halford
43529fc845 tokenization finished. interactive shell improvements for signal handlind (ISIG option turned off). next step is parsing, thinking of AST structure 2016-11-12 23:51:34 +01:00
Jack Halford
fff4912306 some token stuff 2016-11-11 20:57:51 +01:00
Jack Halford
c5b837a8e6 token 2016-11-11 14:28:59 +01:00
Jack Halford
27e26a6211 token stuff 2016-11-11 00:38:15 +01:00
Jack Halford
76535c73c1 work of 10/11/16, started tokenization 2016-11-10 17:05:15 +01:00
Jack Halford
c64cf9a5a4 function to free char** for mem leaks 2016-11-10 12:08:01 +01:00
Jack Halford
b0bb8de22c 8/11/16 days work on memory leaks, BLK/CHR printing and padding 2016-11-08 16:29:34 +01:00
Jack Halford
f108baab24 norm fix, leaks next 2016-11-07 17:54:30 +01:00
Jack Halford
f132551431 libft updt 2016-11-06 23:41:54 +01:00
Jack Halford
3688fb9f1b Makefile progress, just noticed -R is broken 2016-11-06 23:40:29 +01:00