Follow-up Comment #15, bug #712 (project make):

Would it be possible to have a special target .NULL_DELIMITED_LISTS to tell
Make to use the null character as the list separator instead of whitespace?

That way we keep 100% backward compatability and also provide a simple way to
support whitespace in filenames.  This would also allow more complex
wildcard-ing such as:

    .NULL_DELIMITED_LISTS
    
    ...
    
    sources=$(shell find -name '*.in' {many predicates} -print0)
    targets=$(sources:%.in=%.out)
    
    ...
    
    %.out: %.in
        some-command < $^ > $@

Make would also automatically escape the whitespace in variables when building
shell commands.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?712>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to