Eric Sunshine <sunshine@xxxxxxxxxxxxxx> wrote:In the grep documentation on NextStep, for instance, the '^' and '.' tokens are mentioned only in the 'egrep' section.Is the grep program's behavior consistent with that? If so, the "Limitations of Usual Tools" section of autoconf's manual should probably mention that.
No it is not. (At least not with the version I tested, but it may have been the case when the manual page was written for some earlier version.) In fact, Autoconf uses '^' in two of its grep expressions already, so it seems to be acceptable in actual practice. (At least there don't seem to be any complaints about it from users of old platforms.)
-- ES