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