Sponsored Content
Top Forums Shell Programming and Scripting Shell script that will do two things at once Post 302486852 by DGPickett on Monday 10th of January 2011 12:43:23 PM
Old 01-10-2011
Gnu make has a parallel option, and make can do CVS calls to make source for missing files, aged files, or unconditionally.
 

6 More Discussions You Might Find Interesting

1. Programming

Complicating things?

So basically what im trying to do is ... Open file, read that file, than try to find .. We or we and replace them with I, but not replace the cases where words contain We or we, such as Went, went, etc a and replace them with the, but not replace the cases where words contain a, such as... (1 Reply)
Discussion started by: bconnor
1 Replies

2. Programming

Question about several things in C

Hey guys, first of all I'd like to say Hi to everyone. I am new here and this is my first post. I have a question about some C stuff. I am in Computer Science and I have an assignment for a UNIX Applications course. It is really complicated, however. We're using the C language for this and... (1 Reply)
Discussion started by: V4D3R
1 Replies

3. Shell Programming and Scripting

Very strange things happened in the shell function

Here is the script: #!/bin/bash #set -xv RAWDATAFILE="temp1" GOODDATAFILE="temp2" FindSOS() { local NUM=0 #return value for the id of SOS local cnt=1 if grep "EOS" $1 then sed -e 's/.*<CobDate>//' -e 's/<\/.*//' <$1 > ${RAWDATAFILE} sed -n -e '/EOS/,/SOS/ s/*/&/p' <${RAWDATAFILE}... (2 Replies)
Discussion started by: tpltp
2 Replies

4. UNIX for Dummies Questions & Answers

things root can't do

Hey all my co-workers and I are trying to put together a list of things root "Can't" do on any *NIX OS, so I wanted to come here and see what all we could come up with. Here are two to start this off: write to a read only mount FS kill a tape rewind Please add what you know. Thanks,... (5 Replies)
Discussion started by: sunadmn
5 Replies

5. Shell Programming and Scripting

Would appreciate a quick second set of eyes on a script (regarding doing things in the background)

What I'm trying to do is leave a tcpdump running all the time on a server, and at the end of every day kill it and start a new one. For some reason my boss doesn't want to set this up as a cron job, so I've come up with the following.: #!/bin/bash PCAPFILE=/tmp/mgmt.$(date... (8 Replies)
Discussion started by: DeCoTwc
8 Replies

6. Shell Programming and Scripting

Trying to make a bash script that goes through directory files and changes things

I'm trying to write a script in a directory that goes through the column the user specifies of 4 files that are inside the directory and calculates the min and the max values. This means that if the user specifies column 5, the script will go through column 5 of all 4 files and all that should give... (2 Replies)
Discussion started by: Eric1
2 Replies
CVSCONNECT(1)															     CVSCONNECT(1)

NAME
cvsconnect - CVS connection minimizer SYNOPSIS
cvsconnect cvsroot [command-to-run ...] DESCRIPTION
CVSconnect enables you to do multiple CVS operations on single network connection. CVSconnect sets up special environment using $CVSRSH/$CVSROOT for the command line CVS client. In the environment, the command line CVS client reuses a network connection. CVSconnect is especially designed to use with CVSsuck. And CVSconnect (or similar) will be integrated to a future version of CVSsuck. However, it is planned that CVSsuck directly connects to a cvs server without cvs command. EXAMPLES
cvsconnect $HOME/.cvsroot BUGS
o The global option -z for compression cannot be used. If you use SSH via ext method, you can use compression by SSH instead. o CVS client must be run at a time. Running two or more clients at a same time will make a trouble. (will be fixed in future release.) o Some static variables in a CVS server may confuse you. It's a CVS bug. Report it to CVS developer :-). o Command line CVS client must request `Root' first. Don't mind. There is no implementation which violates this assumption, however I know. At least, CVS-1.10 and CVS-1.11 should work. NOTES
o When CVS command is failed, CVSconnect automatically re-run the command with reconnected connection when CVS command is failed. Especially the failure is caused by a long running CVS-1.10 server. Since CVS-1.10 doesn't close some file descriptors, a long running CVS server will exceed a limit of file descriptors. o /bin/sh should be POSIX sh because this script uses ${parameter#pattern}, etc. If your /bin/sh is ancient Bourne shell, use ksh or bash. SEE ALSO
cvs(1), cvssuck(1). AUTHOR
This manpage is written by Piotr Roszatycki <dexter@debian.org> for Debian distribution and can be freely redistributed. Debian 2011-08-30 CVSCONNECT(1)
All times are GMT -4. The time now is 02:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy