In the section Automatic Prerequisites the example rule uses this sed line:
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < [EMAIL PROTECTED] > $@; \ I was wondering why a simpler expression wasn't used: sed 's,$*\.o *:,$*.o $@ :,' < [EMAIL PROTECTED] > $@; \ - The original uses \(\), but it seems to me the group value will always be $* - The original uses [ :]* which doesn't seem as clear as " *:" since there will always be a single colon - The original uses the g global suffix but there will only ever be one target per line Is there something I've missed (portability considerations, most likely)? Thanks! -- Robert _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
