|
From: | Scott Simpson |
Subject: | There is a bug in m4 tracing |
Date: | Tue, 28 Mar 2006 22:35:06 -0800 |
Witness the following typescript:
Script started on Tue 28 Mar 2006 10:30:52 PM PST define(`echo1', `$*') define(`echo2', `$@') define(`foo', `This is the macro `foo'.') #traceon echo1(foo) echo2(foo) $ m4 m4.txt
#traceon This is the macro This is the macro foo.. This is the macro foo. $ sed 's/^#//' < m4.txt > m4_with_trace.txt $ m4 m4_with_trace.txt
m4trace: -2- foo m4trace: -1- echo1 This is the macro m4trace: -1- foo This is the macro foo.. m4trace: -2- foo m4trace: -1- echo2 This is the macro foo. $ |
[Prev in Thread] | Current Thread | [Next in Thread] |