Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] two secure questions



******    message to minivend-users from Murray Gibbins <murray@scotweb.ltd.uk>     ******

Adam Kett wrote:
>
> 1)
>
>     [process-target]
> 
> rather than
> 
>     [process-target secure=1]
> 
> any one know how to search from the catroot dir through all the files
> 
> and replace with correct patten.
> 
> (tried using grep | sed but do not really know these tools.)

try sed -e 's/process-target/process-target secure=1/' ;

with a 

find ./ -name \*.html -exec cat {} | sed -e 's/process-target/process-target
secure=1/' > {}.tmp ; mv {}.tmp {} \;

>

-- 
  ____
  \__/    Murray Gibbins             murray@scotweb.ltd.uk
  /  \    Programmer
_ \__/ _  ================================================
\\ || //  Scotweb Limited,             info@scotweb.ltd.uk
 \\||//   13a Albert Terrace,    http://www.scotweb.ltd.uk
  \||/    Edinburgh EH10 5EA   Tel: +44 (0)  131 270 82 33
   ||     Scotland. Europe.    Fax: +44 (0) 7020  93 49 04
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: