김지현 | Seoul
- 42 Seoul Cadet | 2021.11 ~
우당탕탕 shell 만들기 ⚙️
feature
fix
fix
fix
< a cat > b
처리시 'cat'이 redirect->in으로 들어가는 문제 해결fix
feature
fix
파이프 + 리다렉트 들어오면 값이 이상하게 들어옴
증상 : 파이프 이전에 리다이렉트 들어오면 세그폴트
파이프 뒤에 리다이렉트 들어오면 맨 처음 argv에만 들어가있음..ㅠㅠ
expect :
argv : [cmd : ~~],
[in : NULL],
[out : NULL],
[hdoc : NULL]
[next :
argv : [cmd : ~~],
[in : “test.txt”],
[out : NULL],
[hdoc : NULL]
[next : NULL]
current :
argv : [cmd : ~~],
[in : “test.txt”],
[out : NULL],
[hdoc : NULL]
[next :
argv : [cmd : ~~],
[in : NULL],
[out : NULL],
[hdoc : NULL]
[next : NULL]
feature
, fix
feature
fix
echo 123 | echo 123
처리 시, 1개의 릭이 발생하는 부분 해결하기feature
feature
feature
fix
feature
feature
fix
feature
fix
fix
feature
feature
feature
, fix
feature
parse
폴더에 있는 utils_*.c
파일들을 utils
폴더로 옮기기fix
fix
fix
cd : 오류메시지
에서 cd : cmd: 오류메시지
로 수정feature
, fix
< < a
입력 시 , heredoc처리되는 문제해결하기feature
fix
feature
hdoc->value
를 "/tmp/value"
형식으로 바꿔주기fix
refactor
feature
, fix
CHAR 0x0001
QUOTE 0x0002
S_QUOTE 0x0004
D_QUOTE 0x0008
REDIR 0x0010
R_REDIR 0x0020
L_REDIR 0x0040
PIPE 0x0100
SPACE 0x0200
BREAK 0x1000
CLOSE 0x2000
ADD_NULL 0x4000
typedef struct s_dummy
{
int size;
int type;
char *addr;
} t_dummy;
fix
fix
feature
feature
fix
CHAR 0x0001
QUOTE 0x0002
S_QUOTE 0x0004
D_QUOTE 0x0008
REDIR 0x0010
R_REDIR 0x0020
L_REDIR 0x0040
PIPE 0x0100
SPACE 0x0200
BREAK 0x1000
CLOSE 0x2000
ADD_NULL 0x4000
typedef struct s_dummy
{
int size;
int type;
char *addr;
} t_dummy;
feature
, fix
feature
feature
fix
feature
feature
fix
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.