Austin Group Defect Tracker

Aardvark Mark III

Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001130 [1003.1(2016)/Issue7+TC2] Shell and Utilities Objection Error 2017-03-21 17:07 2017-03-21 17:07
Reporter Antonio Diaz View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name Antonio Diaz
Organization GNU
User Reference
Section ed
Page Number 0
Line Number 0
Interp Status ---
Final Accepted Text
Summary 0001130: Address 0 does not make sense for the c command
Description The synopsis of the c command states that "Address 0 shall be valid for this command; it shall be interpreted as if address 1 were specified".

The RATIONALE of the ed utility states that "For consistency with the a and r commands and better user functionality, the i and c commands must also accept an address of 0, in which case 0i is treated as 1i and likewise for the c command".

But accepting 0 as a valid address for the c command does not make sense because the c command executes a d command, which does not admit an address of 0. With respect to addresses, the c command should be treated as the d command, not as the a, i or r commands, because a, i and r do not delete anything.
See discussion at [^]
Desired Action Remove from the synopsis of the c command and from the RATIONALE the requirement that the c command must accept address 0.
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-03-21 17:07 Antonio Diaz New Issue
2017-03-21 17:07 Antonio Diaz Name => Antonio Diaz
2017-03-21 17:07 Antonio Diaz Organization => GNU
2017-03-21 17:07 Antonio Diaz Section => ed
2017-03-21 17:07 Antonio Diaz Page Number => 0
2017-03-21 17:07 Antonio Diaz Line Number => 0
2017-03-21 17:10 Antonio Diaz Issue Monitored: Antonio Diaz
2017-03-21 18:26 salty-horse Issue Monitored: salty-horse

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