Regression in dash 0.5.10 related to string parsing

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

 



Hi,

Commit ab1cecb40, first released in 0.5.10, introduces a parsing bug
related to backslashes in singly-quoted strings:

echo 'foo\
bar'

According to POSIX, this has to output

foo\
bar

However, in dash 0.5.10, it outputs "foobar".

Found by users of the Void Linux project:
https://github.com/voidlinux/void-packages/issues/14282

Thanks,
-- 
Leah Neukirchen  <leah@xxxxxxxx>  http://leah.zone
--
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