<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SCCS in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sccs/m-p/2563234#M919141</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We use 'rcs' to do all of our version control.&lt;BR /&gt;It is used for sytsem configuration files and&lt;BR /&gt;scripts, including 'cron'&lt;BR /&gt;We find it far easier than 'sccs'. Attached is&lt;BR /&gt;an example of how to use it. &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
    <pubDate>Thu, 09 Aug 2001 02:27:07 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2001-08-09T02:27:07Z</dc:date>
    <item>
      <title>SCCS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sccs/m-p/2563230#M919137</link>
      <description>How do I commit a cron change to SCCS?. Why should I do this?.</description>
      <pubDate>Wed, 08 Aug 2001 10:16:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sccs/m-p/2563230#M919137</guid>
      <dc:creator>Ade Falusi_1</dc:creator>
      <dc:date>2001-08-08T10:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: SCCS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sccs/m-p/2563231#M919138</link>
      <description>Hi&lt;BR /&gt;Use sccs on cronjobs, if more than one person is going to edit it. Or if that's audit requirement.&lt;BR /&gt;&lt;BR /&gt;To create new SCCS file use&lt;BR /&gt;#sccs create root-cronjob&lt;BR /&gt;To get file for editing use&lt;BR /&gt;#sccs edit root-cronjob&lt;BR /&gt;edit it using vi/ex...&lt;BR /&gt;&lt;BR /&gt;To submit changes to SCCS and get new version use&lt;BR /&gt;#sccs delget root-cronjob.&lt;BR /&gt;&lt;BR /&gt;Check man sccs.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant Deshpande.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2001 13:52:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sccs/m-p/2563231#M919138</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-08-08T13:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: SCCS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sccs/m-p/2563232#M919139</link>
      <description>I don't use sccs.  I guess I could.  I keep every previous version of root's crontab file.  Why?  Because you discover some type of problem that (through research) began to happen on 13 Feb 2000.  You go back to your list of old crontab files and discover you started running "badprogram" at 1am each night starting on 13 Feb 2000.&lt;BR /&gt;&lt;BR /&gt;Reason number two to keep past versions:  You accidentally delete the crontab file for root instead of modifying it. Or you forget what change you put in 10 weeks ago. &lt;BR /&gt;&lt;BR /&gt;I never edit the crontab file directory.  Instead I do this....&lt;BR /&gt;1.crontab -l &amp;gt; root.14Feb2001&lt;BR /&gt;2. ls -ltr root.* &amp;lt;--to find the last mod.&lt;BR /&gt;3. diff root.14Feb2001 root.02Feb2001 &lt;BR /&gt;This makes sure no one was modifying the file since the last time I documented the mod. &lt;BR /&gt;4. vi root.14Feb2001  and make my changes &lt;BR /&gt;5. diff root.14Feb2001 root.02Feb2001 &amp;lt;--verifies I made the correct mods.&lt;BR /&gt;6. crontab root.14Feb2001&lt;BR /&gt;&lt;BR /&gt;Hope this helps.   steve&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2001 16:23:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sccs/m-p/2563232#M919139</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2001-08-08T16:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: SCCS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sccs/m-p/2563233#M919140</link>
      <description>I use RCS so I can have an executable cron submission&lt;BR /&gt;script.  SCCS will clear the executable flag on checkin.&lt;BR /&gt;The first line is&lt;BR /&gt;#!/bin/crontab.&lt;BR /&gt;&lt;BR /&gt;I edit this file and then run it.  Then I can submit it to &lt;BR /&gt;RCS.&lt;BR /&gt;&lt;BR /&gt;Alternatively you can have the script use a here &lt;BR /&gt;document and the submit itself. Try something&lt;BR /&gt;like this for SCCS. &lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;/bin/crontab &amp;lt;&amp;lt; EOF&lt;BR /&gt;... cronjobs go here&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;sccs put $0&lt;BR /&gt;sccs get $0&lt;BR /&gt;chmod +x $0&lt;BR /&gt;&lt;BR /&gt;# EOF &lt;BR /&gt;&lt;BR /&gt;You edit the cron entries in the script then run it.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Aug 2001 01:22:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sccs/m-p/2563233#M919140</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2001-08-09T01:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: SCCS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sccs/m-p/2563234#M919141</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We use 'rcs' to do all of our version control.&lt;BR /&gt;It is used for sytsem configuration files and&lt;BR /&gt;scripts, including 'cron'&lt;BR /&gt;We find it far easier than 'sccs'. Attached is&lt;BR /&gt;an example of how to use it. &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
      <pubDate>Thu, 09 Aug 2001 02:27:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sccs/m-p/2563234#M919141</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-08-09T02:27:07Z</dc:date>
    </item>
  </channel>
</rss>

