https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226112

Warner Losh <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected]            |[email protected]
             Status|Open                        |In Progress
                 CC|                            |[email protected]

--- Comment #5 from Warner Losh <[email protected]> ---
This change isn't technically correct.

Space is special, and that's not documented.
What is done when a single character is not well documented.

     An input line is normally made up of fields separated by whitespace, or
     by the extended regular expression FS as described below.  The fields are
     denoted $1, $2, ..., while $0 refers to the entire line.  If FS is null,
     the input line is split into one field per character.  However, this
     behavior is unspecified in the IEEE Std 1003.1 ("POSIX.1") standard.  If
     FS is a single space, then leading and trailing blank and newline
     characters are skipped.  Fields are delimited by one or more blank or
     newline characters.  A blank character is a space or a tab.  If FS is a
     single character, other than space, fields are delimited by each single
     occurrence of that character.  The FS variable defaults to a single
     space.

is what I have in my tree to fix this paragraph. I'll commit it shortly after
waiting a week for feedback.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to