Provided by: manpages-ja_0.5.0.0.20100315-1_all bug

IF-THEN-ELSE

   C
       diff  2  C  C #ifdef NAME #ifndef NAME, ,BR #else ", and " #endif NAME

       `wait (&s)'  `waitpid (-1, &s, 0)' `--ifdef=HAVE_WAITPID' :

           do {
        #ifndef HAVE_WAITPID
                 if ((w = wait (&s)) < 0 && errno != EINTR)
        #else /* HAVE_WAITPID */
                 if ((w = waitpid (-1, &s, 0)) < 0  &&  errno != EINTR)
        #endif /* HAVE_WAITPID */
                 return w;
           } while (w != child);

        if-then-else

           TeX     `old'     `new'    old      `\begin{em}'-`\end{em}'     new
       `\begin{bf}'-`\end{bf}'

        diff \
           --old-group-format='\begin{em}
        %<\end{em}
        '  \
           --new-group-format='\begin{bf}
        %>\end{bf}
        '  \
           old new

        diff \
           --old-group-format='\begin{em}
        %<\end{em}
        ' \
           --new-group-format='\begin{bf}
        %>\end{bf}
        ' \
           --unchanged-group-format='%=' \
           --changed-group-format='\begin{em}
        %<\end{em}
        \begin{bf}
        %>\end{bf}
        '  \
           old new

        "plain English"

        diff \
           --unchanged-group-format='' \
           --old-group-format='-------- %dn line%(n=1?:s) deleted at %df:
        %<' \
           --new-group-format='-------- %dN line%(N=1?:s) added after %de:
        %>' \
           --changed-group-format='-------- %dn line%(n=1?:s) changed at %df:
        %<-------- to:
        %>' \
           old new

        diff  1 4  1 FORMAT

       --old-group-format=FORMAT
               1  hunk  old changed

       --new-group-format=FORMAT
               2  hunk  new changed

       --changed-group-format=FORMAT
               hunk  changed old  new

       --unchanged-group-format=FORMAT
               hunk  unchanged

       %<     1  old

       %>     2  new

       %=       unchanged

       %%     `%'

       %c'C''  C  1 C C  `%c':''  if-then-else then then

       %c'\O''
               0  1  3  8 8 0  `%c'\0''

       (A=B?T:E)
              A  B T E A  B  10  1 A  B  T E

                `%(N=0?no:%dN) line%(N=1?:s)' N (new )  0  `no lines' N  1  `1
              line'  `%dN lines'

       FN      F printf(3) N F  N

              e      old

              f      old e + 1

              l      old

              m      old l + 1

              n      old l - f + 1

              E, F, L, M, N
                      new

       printf %d, %o, %x, %X ( 10 , 8 ,  16 ,  16  )  `%'  `-'  ()  ()   (;  )
       `%5dN'  new 5 printf  "%5d"

        if-then-else

        1  `-'  `|'

        diff \
           --old-line-format='-%l
        ' \
           --new-line-format='|%l
        ' \
           --unchanged-line-format=' %l
        ' \
          old new

        FORMAT

       --old-line-format=FORMAT
              1

       --new-line-format=FORMAT
              2

       --unchanged-line-format=FORMAT

       --line-format=FORMAT

        `%' :

       %l

       %L

       %%     `%'

       %c'C''  C  1 C C  `%c':''  if-then-else then then

       %c'\O''
               0  1  3  8 8 0  `%c'\0''

       Fn      F printf(3) F  `%.5dN'  `%.5d' printf

        `%l' `%l'  `%L' ( `%l'  `%L' ) -t

         diff diff

        diff \
           --old-line-format='< %l
        ' \
           --new-line-format='> %l
        ' \
           --old-group-format='%df%(f=l?:,%dl)d%dE
        %<' \
           --new-group-format='%dea%dF%(F=L?:,%dL)
        %>' \
           --changed-group-format='%df%(f=l?:,%dl)c%dF%(F=L?:,%dL)
        %<---
        %>' \
           --unchanged-group-format='' \
           old new

       diff  2  -s diff  -r

        diff diff diff ( 1  2 ) -N

        -N  -P -P  -N  2  1 ()

         -x  PATTERN  PATTERN   `-x '*.[ao]''  `.a'  `.o'  `-x 'RCS' -x '*,v''
       `RCS'  `*,v'

       diff :

       0

       1

       2

       cmp(1), comm(1), diff3(1), ed(1), patch(1), pr(1), sdiff(1)

         bug-gnu-utils@gnu.org   Ragnar   Hojland   Espinosa   <ragnar@ragnar-
       hojland.com>