Re: Dash problem with IFS

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

 



On Thu, May 07, 2009 at 07:01:56PM +0300, Oleg Verych wrote:

> # just newline
> IFS=`printf '\n+'`; IFS=${IFS%+}

> last example is POSIXly correct ugliness. Bashizm looks better (:
> 
> IFS=$'\n'

PS: I see the problem distinguishing a tab from a space,
but everything but a literal newline is bloat

IFS='
'
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux