mysterious wordexp failure

Zack Weinberg zack@rabi.columbia.edu
Fri Apr 2 09:22:00 GMT 1999


wordexp has been failing one of its tests for the past few days:

    Test words: <$(echo $var)>, need retval 0, wordc 2
    Got retval 0, wordc 1: < abc >

where $var has previously been set to "abc".  Wordc 1 seems like the
right answer to me, but neither the test nor the code has been changed
since last October.  What gives?

zw



More information about the Libc-hacker mailing list