09-09-2005
Thanks Vino..that was really helpful
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hey guys..
probably a simple question but i cant seem to find any info on it.
i have a small array of strings, and i want to concatenate the contents of the array into one big string.
any ideas on how i can do this?
cheers. (2 Replies)
Discussion started by: jt_csv
2 Replies
2. Shell Programming and Scripting
Hi all,
Think this is a pretty simple problem, but I've been thinking about it for a few days. Let's say that I'm going to have to output the contents of a file as the body of a mailx message.
I'll probably do this: cat <filename> | mailx <extra commands>
However, how do I go about doing... (1 Reply)
Discussion started by: rockysfr
1 Replies
3. Programming
Hi,
Well as the title says, I have an array of strings (delimited by null). The length of the array is variable and length of each string is variable as well. What I need is one huge string with the original strings in the array separated by spaces.
For example is an array is such that array... (12 Replies)
Discussion started by: newhere
12 Replies
4. Shell Programming and Scripting
I m new to shell scripting and what i want is take as an i/p from command line the name of the file and inside my script i should redirect the o/p of my few commands to this file concatenated with .txt
for example if i give
./linux filename
i should get the o/p in filename.txt
i need to... (2 Replies)
Discussion started by: tulip
2 Replies
5. Shell Programming and Scripting
Hello,
I'm trying to run a program on a directory (traverse sub dirs too) through my csh script. Arrays support in CSH is appalling, something like associative arrays would have helped me do this so much easier.
Anyway, I want to hold some details extracted from the program and then at the... (0 Replies)
Discussion started by: ragabonds
0 Replies
6. Shell Programming and Scripting
I have these
str1=$(echo "This is string one with spaces \n This is also my sentence 1")
When I echo $str1, it displays the new line character properly.
Now I have another new variable say str2.
I want to concatenate in this way.. str1 + newline character + and then str2.
That's I... (3 Replies)
Discussion started by: dahlia84
3 Replies
7. Shell Programming and Scripting
Hi Friends,
I'm new to shell scripting and trying to concatenate two Strings to create a filepath like string but I'm getting an unexpected result.
here is my code for 'runToneUserLoad.sh':
script_dir="$(dirname $0)"
echo "Script Dir:$script_dir"
dirtest1="/installedUtility"... (6 Replies)
Discussion started by: kuldeept
6 Replies
8. Shell Programming and Scripting
Hi, all,
I tried to write a simple shell script as follow:
#!/bin/bash
# What want to do in bash is following
# : pcd_viewer cloud_cluster_0.pcd cloud_cluster_1.pcd cloud_cluster_2.pcd cloud_cluster_3.pcd cloud_cluster_4.pcd
STR = "pcd_viewer"
for i in `seq 0 4`
do
STR... (1 Reply)
Discussion started by: bedeK
1 Replies
9. Shell Programming and Scripting
Alright, so I'm writing a file for the lexical analyzer (lex). It will be used to check C code (collecting the identifiers and storing those names along with the line numbers the identifier was found on). I'm not used to 'C' so I'm having some difficulty.
I am using a function (insertId()) to... (4 Replies)
Discussion started by: D2K
4 Replies
10. Shell Programming and Scripting
Hello All Unix Users,
I am still new to Unix, however I am eager to learn it..
I have 2 files, some lines have some matching substrings, I would like to concatenate these lines into one lines, leaving other untouched. Here below is an example for that..
File 1 (fasta file):
>292183... (6 Replies)
Discussion started by: Mohamed EL Hadi
6 Replies
LEARN ABOUT SUSE
slapo-syncprov
SLAPO-SYNCPROV(5) File Formats Manual SLAPO-SYNCPROV(5)
NAME
slapo-syncprov - Sync Provider overlay to slapd
SYNOPSIS
/etc/openldap/slapd.conf
DESCRIPTION
The Sync Provider overlay implements the provider-side support for the LDAP Content Synchronization (RFC4533) as well as syncrepl replica-
tion support. The overlay can be used with any backend that maintains entryCSN and entryUUID attributes for its entries. It also creates a
contextCSN attribute in the root entry of the database.
The contextCSN is updated for every write operation performed against the database. To reduce database contention, the contextCSN is only
updated in memory. The value is written to the database on server shutdown and read into memory on startup, and maintained in memory there-
after. Checkpoints may be configured to write the contextCSN into the underlying database to minimize recovery time after an unclean shut-
down.
On databases that support inequality indexing, it is helpful to set an eq index on the entryCSN attribute when using this overlay.
CONFIGURATION
These slapd.conf options apply to the Sync Provider overlay. They should appear after the overlay directive.
syncprov-checkpoint <ops> <minutes>
After a write operation has succeeded, write the contextCSN to the underlying database if <ops> write operations or more than <min-
utes> time have passed since the last checkpoint. Checkpointing is disabled by default.
syncprov-sessionlog <ops>
Configures an in-memory session log for recording information about write operations made on the database. The <ops> specifies the
number of operations that are recorded in the log. All write operations (except Adds) are recorded in the log. When using the ses-
sion log, it is helpful to set an eq index on the entryUUID attribute in the underlying database.
syncprov-nopresent TRUE | FALSE
Specify that the Present phase of refreshing should be skipped. This value should only be set TRUE for a syncprov instance on top of
a log database (such as one managed by the accesslog overlay). The default is FALSE.
syncprov-reloadhint TRUE | FALSE
Specify that the overlay should honor the reloadHint flag in the Sync Control. In OpenLDAP releases 2.3.11 and earlier the syncrepl
consumer did not properly set this flag, so the overlay must ignore it. This option should be set TRUE when working with newer
releases that properly support this flag. It must be set TRUE when using the accesslog overlay for delta-based syncrepl replication
support. The default is FALSE.
FILES
/etc/openldap/slapd.conf
default slapd configuration file
SEE ALSO
slapd.conf(5), slapd-config(5), slapo-accesslog(5). OpenLDAP Administrator's Guide.
ACKNOWLEDGEMENTS
OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP Software is derived from Uni-
versity of Michigan LDAP 3.3 Release.
OpenLDAP 2.4.21 2009/12/20 SLAPO-SYNCPROV(5)