Anonymous | Login | 2024-12-03 17:00 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||||||||
0001822 | [1003.1(2016/18)/Issue7+TC2] Shell and Utilities | Comment | Enhancement Request | 2024-03-14 11:50 | 2024-05-20 15:09 | ||||||||
Reporter | mortoneccc | View Status | public | ||||||||||
Assigned To | |||||||||||||
Priority | normal | Resolution | Accepted As Marked | ||||||||||
Status | Resolved | ||||||||||||
Name | Ed Morton | ||||||||||||
Organization | |||||||||||||
User Reference | |||||||||||||
Section | awk | ||||||||||||
Page Number | 0 | ||||||||||||
Line Number | 0 | ||||||||||||
Interp Status | --- | ||||||||||||
Final Accepted Text | Note: 0006789 | ||||||||||||
Summary | 0001822: Define splitting using a null field separator | ||||||||||||
Description | In most modern awks when splitting a string into fields using a null field separator, either splitting $0 into $1, etc. using FS or calling split(string,array,""), the string is split into characters but that behavior is currently undefined in the spec with the consequence that the large number of awk scripts that rely on this functionality are actually relying on undefined behavior and there is no useful alternative behavior for splitting when the separator is null. | ||||||||||||
Desired Action |
Update the spec to change this: --- If FS is a null string, the behavior is unspecified. --- to this or similar: --- If FS is a null string, the input shall be split into individual characters --- |
||||||||||||
Tags | issue9 | ||||||||||||
Attached Files | |||||||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2024-03-14 11:50 | mortoneccc | New Issue | |
2024-03-14 11:50 | mortoneccc | Name | => Ed Morton |
2024-03-14 11:50 | mortoneccc | Section | => awk |
2024-03-14 11:50 | mortoneccc | Page Number | => 0 |
2024-03-14 11:50 | mortoneccc | Line Number | => 0 |
2024-05-20 15:08 | geoffclare | Note Added: 0006789 | |
2024-05-20 15:09 | geoffclare | Interp Status | => --- |
2024-05-20 15:09 | geoffclare | Final Accepted Text | => Note: 0006789 |
2024-05-20 15:09 | geoffclare | Status | New => Resolved |
2024-05-20 15:09 | geoffclare | Resolution | Open => Accepted As Marked |
2024-05-20 15:09 | geoffclare | Tag Attached: issue9 |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |