Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001319 [1003.1(2016/18)/Issue7+TC2] Shell and Utilities Editorial Clarification Requested 2020-01-17 16:42 2020-01-20 10:13
Reporter quinq View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name Quentin Rameau
Organization
User Reference
Section sed
Page Number 3219
Line Number 107979
Interp Status ---
Final Accepted Text
Summary 0001319: Specify when to print text for a and r commands after d and D commands
Description According to current specifications, an a or r command should never print its content when a d or D command in the script, as it should normally be printed “when reaching the end of the script”, and d or D command always “start the next cycle” without reaching the end of the script.

This does not looks like what is actually intended, and doesn't reflect what some other implementation do.

The a and r text should be printed before begining the next cycle.
Desired Action Modify text starting at line 107977 from:

The text specified for the a command, and the contents of the file specified for the r command, shall be written to standard output just before the next attempt to fetch a line of input when executing the N or n commands, or when reaching the end of the script.

to:

The text specified for the a command, and the contents of the file specified for the r command, shall be written to standard output just before the next attempt to fetch a line of input when executing the N or n or D or d commands, or when reaching the end of the script.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0004740)
geoffclare (manager)
2020-01-20 10:13
edited on: 2020-03-19 16:11

The original POSIX.2-1992 text for the sed "a" command was:
Write text to standard output just before each attempt to fetch a line of input, whether by executing the N command or by beginning a new cycle.


This changed to the current text in the .2b amendment. It appears that in fixing whatever problem .2b fixed, it also broke things by dropping the reference to beginning a new cycle.


- Issue History
Date Modified Username Field Change
2020-01-17 16:42 quinq New Issue
2020-01-17 16:42 quinq Name => Quentin Rameau
2020-01-17 16:42 quinq Section => sed
2020-01-17 16:42 quinq Page Number => 3219
2020-01-17 16:42 quinq Line Number => 107979
2020-01-17 16:43 quinq Issue Monitored: quinq
2020-01-20 10:13 geoffclare Note Added: 0004740
2020-03-19 16:11 geoffclare Note Edited: 0004740


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker