• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What is the best way to change the content (string of text) of a system file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >What is the best way to change the content (string of text) of a system file? (From: Bernardo Höhl <email@hidden>)
 >Re: What is the best way to change the content (string of text) of a system file? (From: deivy petrescu <email@hidden>)

  • Prev by Date: Re: What is the best way to change the content (string of text) of a system file?
  • Next by Date: Re: Scripting Quark
  • Previous by thread: Re: What is the best way to change the content (string of text) of a system file?
  • Next by thread: Re: What is the best way to change the content (string of text) of a system file?
  • Index(es):
    • Date
    • Thread