12-03-2010
On top of the every script you can introduce these lines and SCCS will automatically track the version information.
so your script will look like:
PHP Code:
# SCCS information:
# %Z% File: %M%
# %Z% Version: %I%
# %Z% SCCS Base: %F%
# %Z% Updated on: %E% at %U%
# %Z% Obtained on: %D% at %T%
#
# Name:
# Program Name
#
# Purpose:
# Purpose of the code.
#
# Description:
# Description.
#
# Author:
# James Bond
#
# History:
# 01-Jun-2009 Mon James Bond
# First version checked in.
code line 1
code line 2
code line 3
code line 4
code line 5
code line 6
now if changes required after line 4 then
PHP Code:
# SCCS information:
# %Z% File: %M%
# %Z% Version: %I%
# %Z% SCCS Base: %F%
# %Z% Updated on: %E% at %U%
# %Z% Obtained on: %D% at %T%
#
# Name:
# Program Name
#
# Purpose:
# Purpose of the code.
#
# Description:
# Description.
#
# Author:
# James Bond
#
# History:
# 01-Jun-2009 Mon James Bond
# First version checked in.
# 01-Jan-2010 Wed Bond James
# Changes done.
code line 1
code line 2
code line 3
code line 4
code changed
code line 5
code line 6
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am not sure if this is the right forum to post my question on Version Control. Anyway, here it is!
I use CVS for source code maintainence in my Solaris box. Is there any command where I can find out in CVS, if any check-in/check-out was done in the last 24 hours? I need a listing of all the... (3 Replies)
Discussion started by: Deepa
3 Replies
2. Shell Programming and Scripting
Hi..
I have a perl program that uses "system" to execute a shell script called startengine. The script "startengine" itself calls a lot of other smaller scripts to setup the engine etc. It finally has to execute ./engine which is another shell script which is long and takes a long time to... (3 Replies)
Discussion started by: JLJ
3 Replies
3. Shell Programming and Scripting
Hi All,
Now i am running the 3 oracle procedures one by one manually.
Query: If 1st Procedure OUT_PUT is Success, then call 2nd Procedure.
If 2nd Procedure OUT_PUT is Success, then call 3rd Procedure.
If 1st Procedure is failed, then no need of calling the other
... (8 Replies)
Discussion started by: hanu_oracle
8 Replies
4. Shell Programming and Scripting
Dear all,
good day.
i'm asking about how to disable <control>-c or <control>-z in the beginning of a shell script then enable it again before the script exit
Best Regards
---------- Post updated at 04:41 AM ---------- Previous update was at 04:18 AM ----------
Dear All
i found the... (3 Replies)
Discussion started by: islam.said
3 Replies
5. Shell Programming and Scripting
I have a browser running in a separate virtual terminal and would like to be able to send shortcut codes (e.g. ctrl+A) to the browser (and have it react) from a bash script in a separate virtual terminal. I need to keep the script in the separate virtual terminal. (2 Replies)
Discussion started by: slak0
2 Replies
6. UNIX for Dummies Questions & Answers
HI guys,
Could you help me writing a simple version control script for a text files.
the format could be
./version_control <file(s)> (I want it to be able to work with more than 1 file at the same time)
commands are add and get, add means you add new file(s) to the archive, get means you... (4 Replies)
Discussion started by: s3270226
4 Replies
7. Shell Programming and Scripting
can anyone share script for how to remove control m character (1 Reply)
Discussion started by: pw227j
1 Replies
8. Programming
Hi.I am running some scripts from a "scripts" directory for my job (I am working in Financial industry).For compliance purposes I need to use a "release" directory when running them using some sort of version control(CVS,SVN or GIT) in case the program is audited.Basically I have to maintain a dev... (0 Replies)
Discussion started by: rolleikid
0 Replies
9. Shell Programming and Scripting
Hi All,
I have a shell script(test_abc.sh) with the following shell commands, which are invoking the same shell script with different parameters.
test_abc.sh
. ./test.sh abc >> test.log
. ./test.sh xyz >> test.log
. ./test.sh pys >> test.log
. ./test.sh abc >> test.log
.
.
... (4 Replies)
Discussion started by: dev.devil.1983
4 Replies
LEARN ABOUT OSX
cpanplus::shell
CPANPLUS::Shell(3pm) Perl Programmers Reference Guide CPANPLUS::Shell(3pm)
NAME
CPANPLUS::Shell - base class for CPANPLUS shells
SYNOPSIS
use CPANPLUS::Shell; # load the shell indicated by your
# config -- defaults to
# CPANPLUS::Shell::Default
use CPANPLUS::Shell qw[Classic] # load CPANPLUS::Shell::Classic;
my $ui = CPANPLUS::Shell->new();
my $name = $ui->which; # Find out what shell you loaded
$ui->shell; # run the ui shell
DESCRIPTION
This module is the generic loading (and base class) for all "CPANPLUS" shells. Through this module you can load any installed "CPANPLUS"
shell.
Just about all the functionality is provided by the shell that you have loaded, and not by this class (which merely functions as a generic
loading class), so please consult the documentation of your shell of choice.
BUG REPORTS
Please report bugs or other issues to <bug-cpanplus@rt.cpan.org<gt>.
AUTHOR
This module by Jos Boumans <kane@cpan.org>.
COPYRIGHT
The CPAN++ interface (of which this module is a part of) is copyright (c) 2001 - 2007, Jos Boumans <kane@cpan.org>. All rights reserved.
This library is free software; you may redistribute and/or modify it under the same terms as Perl itself.
SEE ALSO
CPANPLUS::Shell::Default, CPANPLUS::Shell::Classic, cpanp
perl v5.16.2 2012-10-11 CPANPLUS::Shell(3pm)