Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rcsfreeze(1) [freebsd man page]

RCSFREEZE(1)						      General Commands Manual						      RCSFREEZE(1)

rcsfreeze - freeze a configuration of sources checked in under RCS SYNOPSIS
rcsfreeze [name] DESCRIPTION
rcsfreeze assigns a symbolic revision number to a set of RCS files that form a valid configuration. The idea is to run rcsfreeze each time a new version is checked in. A unique symbolic name (C_number, where number is increased each time rcsfreeze is run) is then assigned to the most recent revision of each RCS file of the main trunk. An optional name argument to rcsfreeze gives a symbolic name to the configuration. The unique identifier is still generated and is listed in the log file but it will not appear as part of the symbolic revision name in the actual RCS files. A log message is requested from the user for future reference. The shell script works only on all RCS files at one time. All changed files must be checked in already. Run rcsclean(1) first and see whether any sources remain in the current directory. FILES
RCS/.rcsfreeze.ver version number RCS/.rcsfreeze.log log messages, most recent first AUTHOR
Stephan v. Bechtolsheim SEE ALSO
co(1), rcs(1), rcsclean(1), rlog(1) BUGS
rcsfreeze does not check whether any sources are checked out and modified. Although both source file names and RCS file names are accepted, they are not paired as usual with RCS commands. Error checking is rudimentary. rcsfreeze is just an optional example shell script, and should not be taken too seriously. See CVS for a more complete solution. GNU
23:37:10Z RCSFREEZE(1)

Check Out this Related Man Page

rcsmerge(1)						      General Commands Manual						       rcsmerge(1)

rcsmerge - merge RCS revisions SYNOPSIS
rev2] file DESCRIPTION
incorporates the changes between rev1 and rev2 of an RCS file into the corresponding working file. If is given, the result is printed on the standard output; otherwise the result overwrites the working file. A file name ending in is an RCS file name; otherwise it is a working file name. derives the working file name from the RCS file name and vice versa, as explained in rcsintro(5). A pair consisting of both an RCS and a working file name can also be specified. rev1 cannot be omitted. If rev2 is omitted, the latest revision on the trunk is assumed. Both rev1 and rev2 can be given numerically or symbolically. prints a warning if there are overlaps, and delimits the overlapping regions as explained for the option of co(1). The command is useful for incorporating changes into a checked-out revision. EXAMPLES
Suppose you have released revision 2.8 of Assume furthermore that you just completed revision 3.4 when you receive updates to release 2.8 from someone else. To combine the updates to 2.8 and your changes between 2.8 and 3.4, put the updates to 2.8 into file and execute: Then examine Alternatively, if you want to save the updates to 2.8 in the RCS file, check them in as revision and execute As another example, the following command undoes the changes between revision 2.4 and 2.8 in your currently checked out revision in Note the order of the arguments, and that is overwritten. WARNINGS
does not work for files that contain lines with a single AUTHOR
was developed by Walter F. Tichy. SEE ALSO
ci(1), co(1), merge(1), ident(1), rcs(1), rcsdiff(1), rlog(1), rcsfile(4). rcsmerge(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Increminting a number

Hi im creating lots of log files, Im writing a script to number them and scp them to a remote server, the files need to be called 0001.log 0002.log etc etc in my script I made a counter variable $counter=00001 I tried adding a number to the variable like this $counter=`echo "$counter... (7 Replies)
Discussion started by: thangorn
7 Replies

2. UNIX for Advanced & Expert Users

Cvs Cr-lf

I've experienced a problem with CVS when I've checked out sh script. When new build was created sources were checked out from CVS under Windows. Later this build was deployed under Linux und I recieved error from shell becouse of CR-LF EOL in file. I've tryed command dos2unix and become script... (7 Replies)
Discussion started by: Hitori
7 Replies

3. Shell Programming and Scripting

script to check for a condition inside a file

Hi I am writing a script file which sends the log files along with their size in a folder named log to a file called temp.log using the following cmd: ls -st 190_GSTV_HUX_003QISCGSK026** >> /home/user/temp.log the temp.log looks like this: 16 190_GSTV_HUX_003QISCGSK026_message070321.log ... (11 Replies)
Discussion started by: kiran1112
11 Replies

4. Shell Programming and Scripting

problem in if then else condition

Hi , I am trying the following simple script . But it is always giving 1 output. Dont know why #!/bin/sh find . -name "a.log" if ; then echo "1" else echo "0" fi Kindly advice. it is giving 1 output even when the a.log file is not there (26 Replies)
Discussion started by: himvat
26 Replies

5. Shell Programming and Scripting

perform a check based on number of @ in a log line

Hello, I am intending to perform a check based on number of "@" , present in a line in a log file . The idea is basically to perform a check on cc or bcc sender, based on an email log, which shows all the for email address. Say if the number of @ is more than 30, I will consider it as a mass... (12 Replies)
Discussion started by: fed.linuxgossip
12 Replies

6. Shell Programming and Scripting

time diffrence between two lines in a log file

Hi Experts, I am writing a shell/Perl script tp get a time diffrence of two lines in a log file. I am pasting a snippet of my log file, how it look likes. Sun Apr 26 02:11:03.162 2009 Greenwich Standard Time LOW: pid 488 tid 2072: 0: 251360: calling ARRF_LIB_Evaluate. Sun Apr 26... (24 Replies)
Discussion started by: namishtiwari
24 Replies

7. Shell Programming and Scripting

Help to create a script to parse log files

Hello everybody, I need some help here to create a script to parse a log file. Here is a sample of the log file : 0x42258940 (Debug) Cache SUMMARY attrs now/668 min/668 max/668. 0x42258940 (Debug) RSVD SUMMARY reserved space max requested/128 MB accounted now/0 MB 0x42258940 (Debug)... (12 Replies)
Discussion started by: Samb95
12 Replies

8. Shell Programming and Scripting

Help with the idea of a script to modify time

Hello friends, I need an idea or a ready solution for a problem i have the following lines in text file: 1 20100920140122 object4 MOVE IN 2 20100920150012 object4 MOVE OUT -- cut -- the second column is the date and time: 20100920140122 = 2010 09 20 14:01.22 what I need to do is to add 40... (8 Replies)
Discussion started by: peetteerr
8 Replies

9. Shell Programming and Scripting

AWK failing to parse on certain files

Dear Unix Gurus, need your expertise to help troubleshoot a certain problem i'm having. I crated a shell script which will ftp get 1 crash log from multiple servers (listed in a text file). Each log will then be parsed by calling an awk script. The problem is, for certain log its parsing... (7 Replies)
Discussion started by: tarj
7 Replies

10. Shell Programming and Scripting

Feeding information in columns of LOG file

Dear all, I want to write a shell script to easy my job. Here is the description of task: I have several files (d1.log, d2.log, d3.log etc) with the common text as =======using photon counter ====== tot pho is = 29596 nomatch pho is = 1350 phoeta pho is = 1220... (11 Replies)
Discussion started by: nrjrasaxena
11 Replies

11. Shell Programming and Scripting

calculating unique strings values

Hi, Im looking for a script which will calculate the unique strings column 2 & 3 values in a log as mentioned in example eg:- bag 12 12 bag 18 15 bags 15 13 bags 15 14 blazer 24 24 blazer 33 32 boots 19 15 Result should be:- bag 30 27 bags 30 27... (9 Replies)
Discussion started by: Paulwintech
9 Replies

12. Shell Programming and Scripting

Problem with python script

I have a txt file of 8GB with same type of messages in it. for eg: MTQ_BQUOTE, Length: 40, Timestamp: 4:00:52.064 MsgKey: symbol: XXX | reportingExchange: 11 Symbol: XXX, hash 004C5746 QS Symbol: XXX, market 1 Security Type: EQUAL (1) Symbol Type: Equity.Share.Single.None Session: XX_XXX (0)... (9 Replies)
Discussion started by: Vijeta Laad
9 Replies

13. Shell Programming and Scripting

Log File updated time

hi can any one please help on below .im new to shell scrpting i need to write a shell script which will check particular log file is presented or not in specific location ,if yes how long it was not modified/not rolling ?if its not modified/log is not rolling script will have to send mail (9 Replies)
Discussion started by: 4Learning
9 Replies

14. Shell Programming and Scripting

Help for Count number of files in certain time

Chaps, I need to count number of files in a remote directory from Linux (FreeBSD) as if 10 trace files (log files) been generated within 5min of time. So this is the script then I can setup a monitoring. I came across with ls -1 \ip\d:\Logs | wc -l but then what else requires to check time... (8 Replies)
Discussion started by: samwijekoon
8 Replies

15. Shell Programming and Scripting

Need get data from XML file through shell script..

hi all, here is the sample log file and these errors are repeated in log file.. i need all the repeated time stamp ,severity and message tags needs to print in output file.. through shell script <log-message> <timestamp>2019-03-13T04:52:49.648-05:00</timestamp> <severity>ERROR</severity>... (17 Replies)
Discussion started by: ravi
17 Replies