bug-bash
[Top][All Lists]
Advanced

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

Re: Option for read to handle incomplete last line


From: Martin Schulte
Subject: Re: Option for read to handle incomplete last line
Date: Sun, 24 Oct 2021 18:22:35 +0200

Hi Greg!

> > Nevertheless, am I right that this solution relies on an undocumented 
> > feature?
> 
> Which "undocumented" feature did you have in mind?  Most things are
> documented, somewhere.
> 
> Are you thinking of -d '' signifying NUL as the delimiter?  Chet told
> us that he supports this "happy accident" and won't take it away.
> 
> Are you thinking of the equivalence of "$array" and "${array[0]}"?  I
> think that's documented somewhere, but I'm not going to dig for it right
> now.

Before reading the source I would never have thought that read sets variables 
although it returns FAILURE.

Best regards

Martin



reply via email to

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