Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #4220

Re: gsub and multiple-replacement

From Greg Hacke <greghacke@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: gsub and multiple-replacement
Date 2011-05-10 19:49 -0500
Organization Service de news de lacave.net
Message-ID <32da696b8687fae3c0f11a62d8199b74@ruby-forum.com> (permalink)
References <eb286679b6d688c796525a6786d4394f@ruby-forum.com> <6afb0333cec1da6c0f7ed061ad8d0217@ruby-forum.com>

Show all headers | View raw


7stud -- wrote in post #997852:

OK, I think it would be better to be a bit more specific...

User logs into site. Credentials are verified via LDAP.

At login, I am copying a .mobileconfig template file (xml/plist) and 
saving it as {username}.profile.mobileconfig
This file contains placeholders for:
  {username} = bob@domain.tld
  {userroot} = bob
  {password} = mypassword

I need to read it, modify it, save it and replace it. At that point, the 
user will get the index and be afforded to download this file.

Thoughts?

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

gsub and multiple-replacement Greg Hacke <greghacke@gmail.com> - 2011-05-10 16:16 -0500
  Re: gsub and multiple-replacement 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-10 16:25 -0500
  Re: gsub and multiple-replacement 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-10 16:43 -0500
    Re: gsub and multiple-replacement Greg Hacke <greghacke@gmail.com> - 2011-05-10 19:49 -0500
      Re: gsub and multiple-replacement 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-10 21:07 -0500
      Re: gsub and multiple-replacement Jesús Gabriel y Galán <jgabrielygalan@gmail.com> - 2011-05-11 03:00 -0500
  Re: gsub and multiple-replacement Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-10 16:28 -0500
  Re: gsub and multiple-replacement Greg Hacke <greghacke@gmail.com> - 2011-05-11 08:45 -0500
    Re: gsub and multiple-replacement Jesús Gabriel y Galán <jgabrielygalan@gmail.com> - 2011-05-11 10:01 -0500
  Re: gsub and multiple-replacement 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-11 18:31 -0500
  Re: gsub and multiple-replacement 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-11 18:59 -0500

csiph-web