Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 명령어 없이 리다이렉션만 입력 시 세그폴트 #88

Closed
wonyangs opened this issue Jan 17, 2023 · 0 comments · Fixed by #89
Closed

[Bug] 명령어 없이 리다이렉션만 입력 시 세그폴트 #88

wonyangs opened this issue Jan 17, 2023 · 0 comments · Fixed by #89
Assignees
Labels
🐞 Bug 문제 발생

Comments

@wonyangs
Copy link
Collaborator

wonyangs commented Jan 17, 2023

🚅 Issue 한 줄 요약

명령어 없이 리다이렉션만 들어올 시 오류가 발생합니다

🤷 Issue 세부 내용

  • bash에서는 << heredoc 시 아무런 동작도 하지 않고 끝남
  • bash에서 > res 와 같이 출력 리다이렉션만 입력한 경우 파일 생성
  • syntax error로 처리?

📸 스크린샷

스크린샷 2023-01-17 오후 12 38 28

스크린샷 2023-01-17 오후 12 37 03

@wonyangs wonyangs added the 🐞 Bug 문제 발생 label Jan 17, 2023
@mingxoxo mingxoxo moved this to 🏗 In progress in Minishell backlog Jan 17, 2023
wonyangs added a commit that referenced this issue Jan 17, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Minishell backlog Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug 문제 발생
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants