[Top][All Lists]

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

Re: desperate situation with $(shell ... :(

From: address@hidden
Subject: Re: desperate situation with $(shell ... :(
Date: Thu, 24 Feb 2011 23:03:21 -0800

On Thu, Feb 24, 2011 at 10:28 PM, Mark Galeck (CW) <address@hidden>wrote:

> I have asked this question before, in an isolated example, and Paul said
> this is no problem what I am doing, but...  I have rare, impossible to
> reproduce, yet universally fatal failures...  I just want to make double
> sure, can anybody tell me there is anything wrong with this (I want to
> append the list to the file, and the reason why I can't just echo
> everything, is that this is Windows and there is command line length
> limitation, and the list can exceed that).
> $(foreach item, $(very_long_list), $(shell echo $(item)>>foobar.txt))
> What I see in those rare unreproducible failures, is that some random
> element of in the middle of the very long list does not get appended to the
> file...
Knowing absolutely nothing more about it, my first check would be to verify
there are no shell metacharacters in any of the words in $(item).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]