On Sat, Oct 01, 2005 at 06:36:15PM +1000, Herbert Xu wrote: > Thanks for the patch. The idea is right but you need to handle the > case of nested input streams by saving skipped_characters whenever > the input stream is pushed. > > Anyway, I've fixed in a different way with the following patch.
Hi Herbert, the last three test cases still fail with this patch; and this additional one: $ printf ': 012345\06789\n: 01\023456789\n: 0\0123456789\n' |dash -x + : 012345789 + : 01r456789 + : 0 + 3456789 dash: 3456789: not found $ $ printf ': 0123456789\n\0: 01\023456789\n: 0123456789\n' |dash -x + : 0123456789 + : 01r456789 + : 0123456789 $ printf ': 0123456789\n\0\0: 01\023456789\n: 0123456789\n' |dash -x + : 0123456789 + : 01r456789 + : 0123456789 $ printf ': 0123456789\n\0\0: 01\02\0345\06789\n: 0123456789\n' |dash -x + : 0123456789 + : 01a{5789 + : 0123456789 $ Thanks, Gerrit. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]