Re: What is the best way to change the content (string of text) of a system file?
Re: What is the best way to change the content (string of text) of a system file?
- Subject: Re: What is the best way to change the content (string of text) of a system file?
- From: Bernardo Höhl <email@hidden>
- Date: Thu, 9 Mar 2006 14:40:00 -0300
Thanks Deivy and Mark,
You both have been very helpfull.
Bernardo
=============
On 9 Mar 2006, at 2:17 PM, deivy petrescu wrote:
On Mar 9, 2006, at 11:57, Bernardo Höhl wrote:
Hi list,
I have used "echo" applescript's original "write to file", but I
wonder if I could use an Unix command to find for a string of text
and replace it, inside a system file.
Your comments will be appreciated.
Thanks,
Bernardo Höhl
Rio de Janeiro - Brazil
_______________________________________________
set otexto to "Isto nao deve funcionar direito."
do shell script "echo "& otexto & " | sed 's/nao//'"
-->"Isto deve funcionar direito."
Deivy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden