View Issue Details

IDProjectCategoryView StatusLast Update
00013961003.1(2016/18)/Issue7+TC2System Interfacespublic2024-06-11 09:08
Reporterrillig Assigned To 
PrioritynormalSeverityEditorialTypeEnhancement Request
Status ClosedResolutionAccepted As Marked 
NameRoland Illig
Organization
User Reference
Sectionbasename()
Page Number625
Line Number21595-21596
Interp Status---
Final Accepted Text0001396:0004966
Summary0001396: Table cells are incorrect
DescriptionThe page for basename contains a table with examples.

The table has a border and separating lines between the cells.
Some of these lines go straight through what should be a single cell.
The headings are split into 4 rows each, but that should be 1 row.
The last example is split over 2 rows.
Does the last example really contain a line break in the pathname?
Desired ActionFix the formatting of the table.

The marked cell "" should contain the words "empty string" instead, without the quotes, to align with the syntax of the other cells at the right half of the table.
Tagstc3-2008
Attached Files

Activities

agadmin

2020-08-28 19:00

administrator   bugnote:0004950

I made layout changes to mirror the pdf version. I think the bug wants further changes. Note the download bundles have not yet been updated.

rillig

2020-08-28 20:38

reporter   bugnote:0004951

Thank you, that looks much better now.

At the bottom of the table, the example looks as if basename() had to trim spaces. This looks unintended. Furthermore, the space before "test" is missing on the right side, but it is there on the left side.

agadmin

2020-08-29 07:12

administrator   bugnote:0004954

I'll need some interpretation of what the last line in the table is as its unclear from the document source and pdf output

Is it

"/home/dwc// test"

or

"/home/dwc//
test"

or

"home/dwc//test"

geoffclare

2020-09-01 08:27

manager   bugnote:0004961

Column 1 in the last line should contain "home/dwc//test" (same as column 4 except for the quotes).

geoffclare

2020-09-01 08:27

manager   bugnote:0004962

I agree with the request in the Desired Action to change «""» to «empty string» but this needs to change in the PDF and therefore can't be handled in the "Online Pubs" project.

I suggest that once the table formatting has been dealt with, we move this bug to the Issue7+TC2 project to address this other change.

agadmin

2020-09-01 18:39

administrator   bugnote:0004964

I have now updated the table formatting. I have still to update the download bundles

agadmin

2020-09-02 05:38

administrator   bugnote:0004965

The download bundles have been updated

geoffclare

2020-09-02 08:53

manager   bugnote:0004966

I have moved this bug from Online Pubs to Issue7+TC2.

Proposed change ...

On page 625 line 21588 section basename(), change column 4 from:
""
to:
empty string

Issue History

Date Modified Username Field Change
2020-08-28 12:24 rillig New Issue
2020-08-28 12:24 rillig File Added: 2020-08-28 14_22_07-basename.png
2020-08-28 12:24 rillig Name => Roland Illig
2020-08-28 12:24 rillig URL => https://pubs.opengroup.org/onlinepubs/9699919799/functions/basename.html
2020-08-28 12:24 rillig Section => 3
2020-08-28 19:00 agadmin Note Added: 0004950
2020-08-28 20:38 rillig Note Added: 0004951
2020-08-29 07:12 agadmin Note Added: 0004954
2020-09-01 08:27 geoffclare Note Added: 0004961
2020-09-01 08:27 geoffclare Note Added: 0004962
2020-09-01 18:39 agadmin Note Added: 0004964
2020-09-02 05:38 agadmin Note Added: 0004965
2020-09-02 08:52 geoffclare Project Online Pubs => 1003.1(2016/18)/Issue7+TC2
2020-09-02 08:53 geoffclare Note Added: 0004966
2021-02-04 17:49 Don Cragun Section 3 => basename()
2021-02-04 17:49 Don Cragun Page Number => 625
2021-02-04 17:49 Don Cragun Line Number => 21595-21596
2021-02-04 17:49 Don Cragun Interp Status => ---
2021-02-08 16:10 geoffclare Final Accepted Text => 0001396:0004966
2021-02-08 16:10 geoffclare Status New => Resolved
2021-02-08 16:10 geoffclare Resolution Open => Accepted As Marked
2021-02-08 16:10 geoffclare Tag Attached: tc3-2008
2021-02-23 15:32 geoffclare Status Resolved => Applied
2024-06-11 09:08 agadmin Status Applied => Closed