docs(job-array-one-based-index): feature validation round 1 follow-ups
bug-1903 partial (page-token precision fixed in efff6b65), bug-1907
logged (harness setpend/jobrun cannot report not-found), stale
parse_jobid regex comment in repl.c updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
efff6b658f
commit
0f4effe7df
5 changed files with 100 additions and 16 deletions
|
|
@ -139,11 +139,8 @@ int repl_split_tokens(const char* line, char tokens[][XCE_REPL_TOKEN_LEN],
|
|||
/* bug-1596 (task 12.5): strip one matching pair of surrounding
|
||||
* quote characters -- an operator pasting a value straight out of
|
||||
* another command's own output (e.g. a jobid from `info jobs`) and
|
||||
* habitually quoting it otherwise gets a silent wrong-answer
|
||||
* failure downstream (parse_jobid()'s whole-string-anchored regex
|
||||
* rejects the literal quote characters, and a numeric strtoull()
|
||||
* fallback then parses the leading quote as a nonnumeric prefix,
|
||||
* silently producing 0) instead of an intelligible error. No
|
||||
* habitually quoting it would otherwise have parse_jobid() reject
|
||||
* the value because of the literal quote characters. No
|
||||
* escaping/embedded-space support -- just symmetric outer-quote
|
||||
* removal, sufficient for every argument this REPL's commands
|
||||
* accept (jobids, breakpoint filters, names). */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue