[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] OT: global search and replace
From:       Andrew Ross <aross () westnet ! com ! au>
Date:       2004-09-09 11:23:31
Message-ID: 1094729011.8380.19.camel () localhost
[Download RAW message or body]

On Thu, 2004-09-09 at 16:33, Alex wrote:

> i keep one generic script like so :
> 
> #!/bin/bash
> 
> for file in `find . -name "*.php"`;
>         do vi -s replace-script $file;
> done;

Surely that would break when a file or directory contains spaces?

Cheers

Andrew


--
gentoo-user@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic