[BACK]Return to m4.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / m4

Diff for /src/usr.bin/m4/m4.1 between version 1.10 and 1.11

version 1.10, 2000/03/10 19:07:20 version 1.11, 2000/03/11 15:54:44
Line 71 
Line 71 
 They may be redefined, losing their original meaning.  They may be redefined, losing their original meaning.
 Return values are null unless otherwise stated.  Return values are null unless otherwise stated.
 .Bl -tag -width changequotexxx  .Bl -tag -width changequotexxx
   .It Ic builtin
   Calls a built-in by its name, overriding possible redefinitions.
 .It Ic changecom  .It Ic changecom
 Change the start and end comment sequences.  Change the start and end comment sequences.
 The default is the pound sign  The default is the pound sign
Line 179 
Line 181 
 returns 16).  returns 16).
 If the second  If the second
 argument is not found index returns \-1.  argument is not found index returns \-1.
   .It Ic indir
   Indirectly calls the macro whose name is passed as the first arguments,
   with the remaining arguments passed as first, ... arguments.
 .It Ic len  .It Ic len
 Returns the number of characters in the first argument.  Returns the number of characters in the first argument.
 Extra arguments  Extra arguments
Line 205 
Line 210 
 any macro processing.  any macro processing.
 Aborts with an error message if the file cannot be  Aborts with an error message if the file cannot be
 included.  included.
   .It Ic patsubst
   Substitutes a regular expression in a string with a replacement string.
   Usual substitution patterns apply: an ampersand
   .Pq Ql &
   is replaced by the string matching the regular expression.
   The string
   .Ql \e# ,
   where
   .Ql #
   is a digit, is replaced by the corresponding back-reference.
 .It Ic popdef  .It Ic popdef
 Restores the  Restores the
 .Ic pushdef Ns ed  .Ic pushdef Ns ed
Line 215 
Line 230 
 but it saves the definition on a  but it saves the definition on a
 stack for later retrieval by  stack for later retrieval by
 .Ic popdef .  .Ic popdef .
   .It Ic regexp
   Finds a regular expression in a string.  If no further arguments are given,
   it returns the first match position or -1 if no match. If a third argument
   is provided, it returns the replacement string, with sub-patterns replaced.
 .It Ic shift  .It Ic shift
 Returns all but the first argument, the remaining arguments are  Returns all but the first argument, the remaining arguments are
 quoted and pushed back with commas in between.  quoted and pushed back with commas in between.
Line 252 
Line 271 
 Flushes the named output queues (or all queues if no arguments).  Flushes the named output queues (or all queues if no arguments).
 .It Ic unix  .It Ic unix
 A pre-defined macro for testing the OS platform.  A pre-defined macro for testing the OS platform.
   .It Ic __line__
   Returns the current file's line number.
   .It Ic __file__
   Returns the current file's name.
 .El  .El
 .Sh AUTHOR  .Sh AUTHOR
 Ozan Yigit <oz@sis.yorku.ca> and Richard A. O'Keefe (ok@goanna.cs.rmit.OZ.AU)  Ozan Yigit <oz@sis.yorku.ca> and Richard A. O'Keefe (ok@goanna.cs.rmit.OZ.AU).
   GNU-m4 compatibility extensions by Marc Espie <espie@cvs.openbsd.org>.

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11