bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IFS field splitting doesn't conform with POSIX


From: Greg Wooledge
Subject: Re: IFS field splitting doesn't conform with POSIX
Date: Thu, 30 Mar 2023 13:59:36 -0400

On Thu, Mar 30, 2023 at 11:52:06AM -0600, Felipe Contreras wrote:
> Not to mention the small detail that the Internal Field Separator is
> not a *separator*, but a terminator (with certain exceptions).

POSIX itself admits that the name is confusing.  From sh(1posix):

RATIONALE
       [...]
       The  name  IFS  was originally an abbreviation of ``Input Field Separa‐
       tors''; however, this name is misleading as the IFS characters are  ac‐
       tually  used  as  field terminators.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]