coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About code


From: Eric Blake
Subject: Re: About code
Date: Fri, 13 Jan 2017 09:55:12 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

On 01/13/2017 09:41 AM, francisco dominguez wrote:

[please don't top-post on technical lists]

> The string I was referring to was this:
> 
> "Try 'cp --help' for more information"

$ GIT_PAGER= git grep -n 'for more information' src
src/extract-magic:57:      print $STREAM "Try '$ME --help' for more
information.\n";
src/system.h:678:      fprintf (stderr, _("Try '%s --help' for more
information.\n"), \

Looking at that line in system.h you'll see that it is done as part of
the emit_try_help() macro;

$ GIT_PAGER= git grep -n 'emit_try_help' src/cp.c
src/cp.c:155:    emit_try_help ();

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]