/[autoconf]/autoconf/doc/autoconf.texi
ViewVC logotype

Diff of /autoconf/doc/autoconf.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.718 by adl, Thu Feb 20 17:19:55 2003 UTC revision 1.719 by kryde, Sun Feb 23 23:00:02 2003 UTC
# Line 9812  fi Line 9812  fi
9812  @end example  @end example
9813    
9814    
9815    @item @command{printf}
9816    @c ------------------
9817    @prindex @command{printf}
9818    A format string starting with a @samp{-} can cause problems.
9819    @command{bash} (eg. 2.05b) will interpret it as an options string and
9820    give an error.  And @samp{--} to mark the end of options is not good
9821    in the NetBSD Almquist shell (eg. 0.4.6) which will take that
9822    literally as the format string.  Putting the @samp{-} in a @samp{%c}
9823    or @samp{%s} is probably the easiest way to avoid doubt,
9824    
9825    @example
9826    printf %s -foo
9827    @end example
9828    
9829    
9830  @item @command{pwd}  @item @command{pwd}
9831  @c ----------------  @c ----------------
9832  @prindex @command{pwd}  @prindex @command{pwd}

Legend:
Removed from v.1.718  
changed lines
  Added in v.1.719

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26