openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/misc-utils/look.c
static void print_from(char* front, char* back)
{
    int eol;

    while (front < back && compare(front, back) == EQUAL)
    {
        if (compare(front, back) == EQUAL)
        {
            eol = 0;
            while (front < back && !eol)
            {
                if (putchar(*front) == EOF)
                    err(EXIT_FAILURE, "stdout");
                if (*front++ == '\n')
                    eol = 1;
            }
        }
        else
            SKIP_PAST_NEWLINE(front, back);
    }
}
/*
 * Print as many lines as match string, starting at front.
 */
Print as many lines as match string, starting at front.
Print as many lines as match string starting at front .
static void print_from(char* front, char* back)
{
    int eol;
    while (front < back && compare(front, back) == EQUAL)
    {
        if (compare(front, back) == EQUAL)
        {
            eol = 0;
            while (front < back && !eol)
            {
                if (putchar(*front) == EOF)
                    err(EXIT_FAILURE, "stdout");
                if (*front++ == '\n')
                    eol = 1;
            }
        }
        else
            SKIP_PAST_NEWLINE(front, back);
    }
}
static void print_from ( char * front , char * back ) { int eol ; while ( front < back && compare ( front , back ) == EQUAL ) { if ( compare ( front , back ) == EQUAL ) { eol = 0 ; while ( front < back && ! eol ) { if ( putchar ( * front ) == EOF ) err ( EXIT_FAILURE , " " ) ; if ( * front ++ == ' \n ' ) eol = 1 ; } } else SKIP_PAST_NEWLINE ( front , back ) ; } }
Print as many lines as match string, starting at front.
Print as many lines as match string starting at front .