• 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: add an entry to a unix text file or modify an existing entry if it exists?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add an entry to a unix text file or modify an existing entry if it exists?


  • Subject: Re: add an entry to a unix text file or modify an existing entry if it exists?
  • From: "D.Walsh" <email@hidden>
  • Date: Sun, 2 Jan 2005 05:50:40 -0500
  • Mta-interface: amavisd-new-2.2.1 (2004-12-22) at daleenterprise.com


On Jan 01, 2005, at 22:13, Markian Hlynka wrote:

Hi, Dale!

Did anyone have such a code snippet for you? I could sure use one that does that too!

Thanks,

Markian

On Dec 23, 2004, at 1:32, D.Walsh wrote:

Anyone have a routine that they wouldn't mind sharing that takes a text file and adds an entry if it doesn't exists?

I've got a line I need to insert into hostconfig 'MAILTRANSPORT=-YES-' without disturbing the rest of the file content and I need a way to change the -YES- to -NO- as well?

I believe I can link this to a NIB check-box if I can get some code that makes the changes, I've had success working with bundle prefs of an app but this is an area I'm unfamiliar with and am looking for a shortcut I can learn from (making edits to a non pref file).

-- Dale

Markian, no, no one sent me anything, you're about the only response I've seen.


-- Dale

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: How to stop a find?
  • Next by Date: PBXCp error in deployment build to /Library/Frameworks
  • Previous by thread: Re: adding a target to an aggregate
  • Next by thread: PBXCp error in deployment build to /Library/Frameworks
  • Index(es):
    • Date
    • Thread