PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] Clarification on Replacing {}
Date: Thursday, 03 Sep 2020, 09:12:41


    > Message Posted By: Anonymous
    >
    > Could you clarify what you mean with the following statement:
    >
    >    * Replace every {} that is, or is embedded in, an argument to -exec by
    > the full name of the current file.  (The time for the replacement
    > operation must grow no worse than quadratically in the length of the
    > command passed to system().)
    >
    > What's an example -exec statement in which this would be applicable?

In

  % ./fiend . -exec echo {} prefix{}suffix \;

{} is an argument and is embedded in prefix{}suffix.

--Stan-
PREV INDEX NEXT