Skip to content

Conversation

@mrizhakov
Copy link

Issue: tester used grep -vF "$PROMPT" unconditionally; when PROMPT was empty this removed all output so minishell results vanished.
Changes: use mkdir -p; detect PROMPT and set GREP_PROMPT=(grep -vF "$PROMPT") or GREP_PROMPT=(cat) if empty; replace direct grep -vF uses with "${GREP_PROMPT[@]}".
Commit message suggestion: "tester: avoid stripping all output when PROMPT is empty; use mkdir -p"

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.

1 participant