10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
i am having three files which is having following data
file1:
field1 field2 field3
1 A B
2 C D
3 E F
file2:
4 G H
1 I J
5 K L
file3:
4 M N (3 Replies)
Discussion started by: angel12345
3 Replies
2. Shell Programming and Scripting
hi
i have a file like
1,"A","B"
2,"C","D"
1,"E","F"
3,"G","H"
in output i need like
3,"G","H"
1,"E","F"
2,"C","D"
1,"A","B" (12 Replies)
Discussion started by: angel12345
12 Replies
3. Shell Programming and Scripting
Hi all, i'm quite new in the UNIX world. So maybe i'm going to ask simple questions but they are unsolvable for me...
I'm trying to implement the 'more' function or kinda of that, for improving my knowledges. But I encountered some problems that i hope u will help me to solve.
The code i... (0 Replies)
Discussion started by: Cellofan
0 Replies
4. Shell Programming and Scripting
Hi All,
My requirement is if the record is starting with 0, then do some processing.
if starting with 1, some processing
else (not with 0 or 1 ) then do some other processing.
i tried the following
case "$test" in
/^0/) echo "starting with zero ;;
/^1/) echo " with one" ;;
*) echo... (3 Replies)
Discussion started by: ssunda6
3 Replies
5. Shell Programming and Scripting
Hi All,
My requirement is if the record is starting with 0, then do some processing.
if starting with 1, some processing
else (not with 0 or 1 ) then do some other processing.
i tried the following
case "$test" in
/^0/) echo "starting with zero ;;
/^1/) echo " with one" ;;
*) echo... (2 Replies)
Discussion started by: ssunda6
2 Replies
6. Shell Programming and Scripting
Hi all,
could any of you please help me on my problem..
we are doing FTP (one report out put) from one server to another server through unix shell script program.
Due to the network issues, some times FTP process is hanging.
So we planned to modify the existing program with the following... (2 Replies)
Discussion started by: kishore_jasthi
2 Replies
7. AIX
anyone can help me how to implement the timer on AIX?
I tried with 'setitimer' and its related functions, but it does not work correctly,the program exited each time.
thanks (2 Replies)
Discussion started by: Frank2004
2 Replies
8. Programming
1 . How does va_arg implemented by system? (2 Replies)
Discussion started by: chenhao_no1
2 Replies
9. UNIX for Advanced & Expert Users
how can i use a rlogin with out entered a password,
someone tell me about configure the next files
/.rhosts
/etc/hosts.equiv and /etc/hosts
but i not sure about that, or there are not enough
could you tell me how to do that? (3 Replies)
Discussion started by: jav_v
3 Replies
10. UNIX for Dummies Questions & Answers
Hi Does someone know how Unix or Linux implement
'diff' command ? Any good reference or the
algorithm will be better ?
Thanks (3 Replies)
Discussion started by: harrylong
3 Replies
MM(1L) MM(1L)
NAME
mm - mirror master
SYNOPSIS
mm [flags] [package-files]
DESCRIPTION
mm is the mirror master. It runs multiple calls to mirror in parallel and handles locking and minimal retry times.
As with mirror, mm is a package written in Perl.
mm presumes that all the package details are stored in a directory called packages. All the packages for a given site must be in a file
whose name is the same as that of the site. So in packages/sunsite.org.uk will be all the package details for the host sunsite.org.uk.
OPTIONS
-t Ignore the minimal retry timers.
-o site:package
Only mirror the given site:package.
-debug Enable debugging. If this argument is given more than once the debugging level will increase. Currently the maximum useful level
is four.
-s Enable status debugging. This will print out the status of any subprocess as it is spawned or as it exits.
CONFIGURATION FILE
The configuration file is parsed as a series of statements. Blank lines and lines beginning with a hash are ignored. There are are
two kinds of statements, controls and site:package details.
Control statements are of the form:
keyword=value
You can add whitespace around the equals.
Here is a list of the keywords and their values, any defaults are given inside square brackets:
home Directory that mm chdirs to before doing any work. ['']
max Maximum number of mirrors that can be running in parallel at any one time ['6']
mirror This is the way to call mirror. Any occurence of $args, $package or $site is replace with the appropriate entry from the
package. Any $pkg is replaced with a version of $package with all characters that cause problems in filenames converted to
underscore. The default is: exec ./mirror $args -p'$package' packages/$site > logs/$site:$pkg 2>&1 ['']
cmd Run the given command. This can occur multiple times. ['']
cmdin Run the given command and use its output as mm input. This can occur multiple times. ['']
skip Skip the given site:package when it occurs. ['']
In addition to control statements there are also package details. Each package details statement is of the form:
site:package min-restart-last-ok min-restart-last-notok mirror-args
The site and package fields are matched against those in the packages. A mirror will only be run to this site:package if the last mirror
run was more than min hours out. The min-restart-last-ok limit will be used if the last call to mirror was successful. If the mirror call
failed then min-restart-last-notok will be used.
EXAMPLES
Here is a simple mm input file to manage mirroring two packages.
home=/public/mirror
ftp.cl.cam.ac.uk:JIPS-nrs 20 20
hcrl.open.ac.uk:hcrl-psion 20 20
More usually the auxilly program pkgs_to_mmin will be used to automatically convert the contents of the packages directory into the
site:package statements.
home=/public/mirror
cmdin=./pkgs_to_mmin packages/*
AUTHOR
Written by Lee McLoughlin <lmjm@icparc.ic.ac.uk>.
21 April 1993 MM(1L)