2 messages in com.perforce.jamming[jamming] Re: Setting a Jam variable ...
FromSent OnAttachments
Dian...@yahoo.com06 Nov 1999 11:57 
Grae...@colorbus.com.au07 Nov 1999 15:32 
Subject:[jamming] Re: Setting a Jam variable and not getting a space at the end
From:Grae...@colorbus.com.au (Grae@colorbus.com.au)
Date:11/07/1999 03:32:22 PM
List:com.perforce.jamming

From: Diane Holt <hol@yahoo.com>

lists.c: list_print( l ) LIST *l; { for( ; l; l = list_next( l ) ) printf( "%s ", l->string ); } I suppose you could swap it around and have a leading space, if that would be better for you -- or you could get rid of the space in list_print, and be responsible for it in your rules/targets (but that could get messy pretty fast).

How about this:

void list_print( l ) LIST *l; { int ptd = 0; for( ; l; ptd = 1, l = list_next( l ) ) printf( "%s%s", ptd ? " " : "", l->string );

}

Graeme Gill.