Updated BPT4 as per new problem statement - T2|2026 - #1
Open
24f2002329 wants to merge 2 commits into
Open
Conversation
Updated problem statement and examples for sed script.
Updated as per new problem statement - T2|2026
There was a problem hiding this comment.
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.sedimplementing “replace 2nd occurrence of error → issue” for lines beginning with an 8-hex code. - Updated
BPT4_problem_4/readme.mdto 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/&1is 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.
|
|
||
| **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. |
| ## Note | ||
|
|
||
| **Example Command:** | ||
| - Assume that the contents of the file is given as standard input (`&0`) to your script. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated BPT4 as per new problem statement (i.e. sed file name issue) - T2|2026