Skip to content

Updated BPT4 as per new problem statement - T2|2026 - #1

Open
24f2002329 wants to merge 2 commits into
BriskAM:mainfrom
24f2002329:main
Open

Updated BPT4 as per new problem statement - T2|2026#1
24f2002329 wants to merge 2 commits into
BriskAM:mainfrom
24f2002329:main

Conversation

@24f2002329

Copy link
Copy Markdown

Updated BPT4 as per new problem statement (i.e. sed file name issue) - T2|2026

Updated problem statement and examples for sed script.
Updated as per new problem statement - T2|2026
Copilot AI lite review requested due to automatic review settings August 17, 2026 02:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates BPT4 Problem 4 to align with the revised problem statement, primarily renaming the expected sed script file and refreshing the README instructions/examples accordingly.

Changes:

  • Added BPT4_problem_4/script.sed implementing “replace 2nd occurrence of error → issue” for lines beginning with an 8-hex code.
  • Updated BPT4_problem_4/readme.md to reflect the new script name (script.sed) and updated example command/output formatting.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
BPT4_problem_4/script.sed Adds the sed logic for conditional replacement on hex-prefixed lines.
BPT4_problem_4/readme.md Updates the problem statement, examples, and run instructions to match the new expected script name.
Suppressed comments (1)

BPT4_problem_4/readme.md:42

  • Same issue as above: &0 / &1 is nonstandard notation for stdin/stdout; clarify as fd 0/fd 1 (or just stdin/stdout).
- It should read input from stdin (`&0`) and write output to stdout (`&1`).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread BPT4_problem_4/readme.md

**Example Command:**
- Assume that the contents of the file is given as standard input (`&0`) to your script.
- Make sure that your sed expression is case insensitve.
Comment thread BPT4_problem_4/readme.md
## Note

**Example Command:**
- Assume that the contents of the file is given as standard input (`&0`) to your script.
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.

2 participants