I have a script that produces an output containing '/.ssh'.
I am trying to find a way of parsing only this data from a single line, without removing any other special characters contained within the output as a result of the parse.
Any help would be appreciated (6 Replies)
Hello Gurus,
I need to remove lines within a file if it contains specific criteria. Here is what I am trying to resolve:
Users of AppRuntime: (Total of 10 licenses issued; Total of 6 licenses in use)
buih02 dsktp501 AppGui 1 (compute_lic/27006 3122), start Mon 2/22 7:58
dingj1... (3 Replies)
Hi,
Could you please help me in removal of newline chracter present in between the double quotes and replacing it with space.
For example ...
Every field is wrapped with double quotes with comma delimiter, so I need to travese from first double quote occerence to till second double... (7 Replies)
I'd like to remove (do a pattern or precise replacement - this I can handle in SED using Regex )
---AFTER THE 1ST Occurrence ( i.e. on the 2nd occurrence - from the 2nd to fourth occurance ) of a specific string : type 1
-- After the 1st occurrence of 1 string1 till the 1st occurrence of... (4 Replies)
Hello
I've got a string of text with a number in pence, e.g. 0.52p, I need to remove the 'p' so that it just reads 0.52 without of course removing all the other 'p' characters.
Many thanks (1 Reply)
I'm looking to remove duplicate rows from a CSV file with a twist.
The first row is a header.
There are 31 columns. I want to remove duplicates when the first 29 rows are identical ignoring row 30 and 31 BUT the duplicate that is kept should have the shortest total character length in rows 30... (6 Replies)
I have a script that builds a database ~30 million lines, ~3.7 GB .cvs file. After multiple optimzations It takes about 62 min to bring in and parse all the files and used to take 10 min to remove duplicates until I was requested to add another column. I am using the highly optimized awk code:
awk... (34 Replies)
Hello folks!
Raised a bump on my head trying to figure this one out ;)
I have an xml file which needs to be edited, removing an entire property section in the work. Here's what the target section layout looks like:
<property name="something">
{any number of lines go here}
</property>... (7 Replies)
Discussion started by: LinQ
7 Replies
LEARN ABOUT DEBIAN
londiste
LONDISTE(5)LONDISTE(5)NAME
londiste - PostgreSQL replication engine written in python
SYNOPSIS
[londiste]
job_name = asd
DESCRIPTION
The londiste configuration file follow the famous .INI syntax. It contains only one section named londiste.
Most defaults values are reasonable ones. That means you can only edit provider_db, subscriber_db and pgq_queue_name and be done with
londiste configuration.
OPTIONS
You can configure the following options into the londiste section.
job_name
Each Skytools daemon process must have a unique job_name. Londiste uses it also as consumer name when subscribing to queue.
provider_db
Provider database connection string (DSN).
subscriber_db
Subscriber database connection string (DSN).
pgq_queue_name
Name of the queue to read from. Several subscribers can read from same queue.
logfile
Where to log londiste activity.
pidfile
Where to store the pid of the main londiste process, the replay one.
lock_timeout
Few operations take lock on provider (provider add/remove, compare, repair). This parameter specifies timeout in seconds (float) how
long a lock can be held. New in version 2.1.8. Default: 10
loop_delay
How often to poll events from provider. In seconds (float). Default: 1.
pgq_lazy_fetch
How many events to fetch at a time when processing a batch. Useful when you know a single transaction (maintenance UPDATE command,
e.g.) will produce a lot of events in a single batch. When lazily fetching, a cursor is used so as to still process a single batch in a
single transaction. Default: 0, always fetch all events of the batch, not using a cursor.
log_count
Number of log files to keep. Default: 3
log_size
Max size for one log file. File is rotated if max size is reached. Default: 10485760 (10M)
use_skylog
If set, search for [./skylog.ini, ~/.skylog.ini, /etc/skylog.ini]. If found then the file is used as config file for Pythons logging
module. It allows setting up fully customizable logging setup. Default: 0
EXAMPLE
[londiste]
job_name = test_to_subcriber
provider_db = dbname=provider port=6000 host=127.0.0.1
subscriber_db = dbname=subscriber port=6000 host=127.0.0.1
# it will be used as sql ident so no dots/spaces
pgq_queue_name = londiste.replika
logfile = /tmp/%(job_name)s.log
pidfile = /tmp/%(job_name)s.pid
SEE ALSO londiste(1)
03/13/2012 LONDISTE(5)