Re: [SLUG] Need help with a sed script

From: Dylan William Hardison (dylanwh@tampabay.rr.com)
Date: Sat Aug 02 2003 - 13:31:09 EDT


On Saturday, August 02, 2003 at 01:14PM -0400, Russ Wright wrote:
> Thanks for the reply!
> Yes that does seem to work well.
>
> One issue I just realized. The files are split up in multiple subdirectories
> how could I modify the script to go into each subdirectory and do the same?
>
> Regards
> Russ
>

Use `find . -name '*.php'` instead of *.php,
or, this might also work:
**/*.php (works in zsh and bash).

-- 
"What terrible way to die."
"There are no good ways."
        -- Sulu and Kirk, "That Which Survives", stardate unknown
-
GPG Fingerprint=D67D 2B75 53C6 9769 30E4  D390 239F C833 F32C F6F6
GPG KeyID=F32CF6F6
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:56:21 EDT