[Top][All Lists]

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

bug in documentation example

From: Jacob Burckhardt
Subject: bug in documentation example
Date: Tue, 27 Feb 2001 16:58:41 -0800

The "Multiple Files" node of the info documentation says:

>    You can use shell command substitution (backquotes) to process a
> list of arguments, like this:
>      grep -l sprintf `find $HOME -name '*.c' -print`
>    However, that method produces an error if the length of the `.c'
> file names exceeds the operating system's command-line length limit.
> `xargs' avoids that problem by running the command as many times as
> necessary without exceeding the limit:
>      find $HOME -name '*.c' -print | grep -l sprintf

I think the word "xargs" should be before the word "grep".

reply via email to

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