%% "Martin d'Anjou" <[EMAIL PROTECTED]> writes: md> v:=$(shell grep NAME file1 | sed -e '/^#/d;s/NAME:[ ]*//')
The "#" is being seen by make as a comment. Try: v:=$(shell grep NAME file1 | sed -e '/^\#/d;s/NAME:[ ]*//') Alternatively you can use a variable to hide it: hash := \# v:=$(shell grep NAME file1 | sed -e '/^$(hash)/d;s/NAME:[ ]*//') -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
