coreutils
[Top][All Lists]
Advanced

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

Re: About code


From: Bernhard Voelker
Subject: Re: About code
Date: Fri, 13 Jan 2017 15:03:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

On 01/13/2017 10:56 AM, francisco dominguez wrote:
> But for example, i try find the "error string" when type "cp" without
> arguments, but i can not find it.

Not that hard:

  $ src/cp 2>&1 | head -n1
  src/cp: missing file operand

  $ GIT_PAGER= git grep -n 'missing file operand' -- src/cp.c
  src/cp.c:587:        error (0, 0, _("missing file operand"));

http://git.sv.gnu.org/cgit/coreutils.git/tree/src/cp.c?id=cade9233#n587

Have fun,
Berny



reply via email to

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