Skip to content

Conversation

@dayano74
Copy link
Collaborator

fix #268

リダイレクトは3つ以上受け付けられるように修正しました。
./minishellで確認していただけるとありがたいです。

$ echo hello < Makefile > out > out2 > out3
$ echo hello < Makefile < README.md > out > out2 > out3
$ echo bye < Makefile < README.md > out > out2 > out3

ただ、以下のようにリダイレクト後やリダイレクト間にテキストがあった場合は、処理できないです。

$ echo hello < Makefile > out > out2 > out3 bye
$ echo hello < Makefile < README.md hi > out > out2 > out3 hey

@dayano74 dayano74 requested a review from cacapon May 18, 2025 06:09
Copy link
Owner

@cacapon cacapon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

確認しました。
大丈夫そうなのでマージしますね。

@cacapon cacapon merged commit ed4bb9c into main May 18, 2025
2 checks passed
@cacapon cacapon deleted the feature/268-fix-builtin-redirect branch May 18, 2025 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

built-in にリダイレクトがあるとbashと異なる挙動をする

3 participants