D | wordexp-test.c | 32 #define IFS " \n\t" macro 46 { 0, NULL, "one", 0, 1, { "one", }, IFS }, 47 { 0, NULL, "one two", 0, 2, { "one", "two", }, IFS }, 48 { 0, NULL, "one two three", 0, 3, { "one", "two", "three", }, IFS }, 49 { 0, NULL, " \tfoo\t\tbar ", 0, 2, { "foo", "bar", }, IFS }, 52 { 0, NULL, "one \"two three\"", 0, 2, { "one", "two three", }, IFS }, 54 { 0, "two three", "one \"$var\"", 0, 2, { "one", "two three", }, IFS }, 55 { 0, "two three", "one $var", 0, 3, { "one", "two", "three", }, IFS }, 85 { 0, "foo", "${var}", 0, 1, { "foo", }, IFS }, 86 { 0, "foo", "$var", 0, 1, { "foo", }, IFS }, [all …]
|