On 11 January 2007 10:13, hridyesh pant wrote:

> Hi,
> How can I achieve var=`cmd` type fo action in a Windows shell? I know that
> the backquote is not supported in Windows in the same way as it is on Unix
> flavors, but is there a way to achieve a similar effect? What I really want
> to do is set a variable in a makefile by running certain simple grep and
> cut commands.   
> 
> Any suggestions would be much appreciated.
> 
> Regards


VAR:=$(shell cmd)

should get you pretty much what you want, I believe.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make
  • begineer hridyesh pant
    • RE: begineer Dave Korn

Reply via email to