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: Sat, 1 Apr 2023 19:50:45 -0400

On Sat, Apr 01, 2023 at 07:44:10PM -0400, Saint Michael wrote:
> There is an additional problem with IFS and the command read
> 
> Suppose I have variable  $line with a string "a,b,c,d"
> IFS=',' read -r x1 <<< $line
[...]

https://mywiki.wooledge.org/BashPitfalls#pf47



reply via email to

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