>> It might save you some problems in places like profile.d/ or cron.d/ or
>> init.d/ hat itterate through all the contents of a directory.
I'm not sure what you're referring to there, but would enjoy hearing more.
:)
bd
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Melvin
Sent: Thursday, January 04, 2001 3:09 PM
To: Brad Doster
Cc: [EMAIL PROTECTED]
Subject: RE: File Update Script
On Thu, 4 Jan 2001 [EMAIL PROTECTED] wrote:
> Hi Matthew,
>
> I think your first RCS command below should have been 'ci' rather than
> 'co' -- is that correct?
Oh.. err.. yes indeed it should be. Sorry 'bout that. :)
> At initial glance, RCS a bit confusing, but something one could get used
to.
> Also, many of my scripts are likely to be called by cron jobs while I'm
> editing, so playing with live versions is not a good idea. However, used
in
> conjuction with my technique, the best of both worlds are possible:
>
> cd /etc/rc.d
> mkdir _edit_
> cp rc.local _edit_
> cd _edit_
> mkdir RCS
>
> Then use RCS to edit the copy of the file. When ready to make it live,
use
> fupdate to do so. All in all, I really like this solution.
You might wan't to make it .edit or some other 'hidden' dir instead. It
might save you some problems in places like profile.d/ or cron.d/ or init.d/
that itterate through all the contents of a directory. I can't think of any
actual instances that would be a problem becuase _edit_'s a directory and
not a file.. but something to take under advisement. :)
> Thanks again for checking out the script and offering your feedback!
always a pleasure. :)
M.
--
WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company
Level 1, 96 Lytton Road. Network Operations - Systems Engineer
PO Box 4169, East Brisbane. phone: +61 7 3249 2583
Queensland, Australia. pgp key id: 0x900E515F
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list