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: deivy petrescu <email@hidden>
- Date: Thu, 9 Mar 2006 12:17:04 -0500
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