• 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: 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


  • Follow-Ups:
    • Re: What is the best way to change the content (string of text) of a system file?
      • From: Bernardo Höhl <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>)

  • Prev by Date: What is the best way to change the content (string of text) of a system file?
  • Next by Date: Re: What is the best way to change the content (string of text) of a system file?
  • Previous by thread: 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