I have a file in which email messages are stored in. Every email is separated by by a ^Z character (Control-Z).
I need to extract all emails after the 65,00th one to another file and delete them from the original file.
Any suggests on accomplishing this? (2 Replies)
Hi all!
A bit of background: I am trying to create a script that formats SQL statements. I have gotten so far as to add new lines based on certain match criteria like commas, keywords etc. In the process, I end up adding newlines where I don't want.
For example: substr(colName, 1, 10)... (3 Replies)
Hi all.
I have the following command that is successfully searching for any one of the strings on all lines of a file and replacing it with the instructed value.
cat inputFile | awk '{gsub(/aaa|bbb|ccc|ddd/,"1234")}1' > outputFile
This does in fact replace any occurrence of aaa, bbb,... (2 Replies)
ENVIROMENT
Linux: Fedora Core release 1 (Yarrow)
iPlanet: iPlanet-WebServer-Enterprise/6.0SP1
Log Path: /usr/iplanet/servers/https-company/logs
I have iPlanet log rotation enabled rotating files on a daily basis.
The rotated logs are NOT compressed & are taking up too much space.
I... (7 Replies)
Hi All,
I have following input file. I wish to retain those lines which match multiple search criteria. The search criteria is stored in a variable seperated from each other by comma(,).
SEARCH_CRITERIA = "REJECT, DUPLICATE"
Input File:
ERROR,MYFILE_20130214_11387,9,37.75... (3 Replies)
Hello
I'm using cygwin and wouldlike extract information from an xml file according specific values, but don't know how.
Let's say in a file content looks like this:
<tab>
SURNAME=Mustermann
NAME=Max
CUSTOMER SINCE= 18.01.2000
ADDRESS=Birmingham
... (2 Replies)
Hi,
I have an input file as shown below:
20140102;13:30;FR-AUD-LIBOR-1W;2.495
20140103;13:30;FR-AUD-LIBOR-1W;2.475
20140106;13:30;FR-AUD-LIBOR-1W;2.495
20140107;13:30;FR-AUD-LIBOR-1W;2.475
20140108;13:30;FR-AUD-LIBOR-1W;2.475
20140109;13:30;FR-AUD-LIBOR-1W;2.475... (2 Replies)
Hi All,
Do you have any sample script,
- auto get file from SFTP remote server and delete file in remove server after downloaded.
- only download specify filename
- auto upload file from local to SFTP remote server and delete local folder file after uploaded
- only upload specify filename
... (3 Replies)
Hi all, I was wondering if anyone would know how to search & delete inclusively between two lines, please:
Important:
There are multiple }; lines. I'm curious how to delete the correct one only.
Line numbers may vary each time this script is run.
For example, I'd like to delete only the... (6 Replies)
Discussion started by: chatguy
6 Replies
LEARN ABOUT DEBIAN
jailer.conf
JAILER(5) File Formats Manual JAILER(5)NAME
jailer.conf - configuration file of jailer
SYNOPSIS
jailer.conf
DESCRIPTION
jailer is a script for creating chrooted environments for Debian packages.
jailer.conf is the configuration file for jailer.conf
Every configuration definition has to start and end with a jail identifier, which should be unique and be in brackets.
<apache>
For example, an Apache chroot identifier should look like this:
</apache>
The identifier use needs to be closed.
The configuration for the chroot instance is defined inside these identifiers. The following lines can be used to describe the con-
figuration:
Root: /var/chroot/apache
This line describes the PATH of the chrooted enviroment.
Conf:
This line describes the PATH or PATH/filename which should be copied over to the chrooted environment. For example Conf:
/etc/apache/* , which uses a wild card.
Debs:
This line contains the name of those Debian packages which should be installed into the chrooted environment.
Junk-Debs:
This line contains those deb packages which should not be installed into the chrooted environment.
Junk:
This line contains those files or directories which should not be installed. For example /lib/* means all files and links under /lib
should not be installed, while /lib/libconsole.so.0.0.0 means a file which should not to be installed.
Extra:
This line contains those files or directories which should be installed into the chrooted environment. For example: /var/run will
install that a directory which is needed for the chrooted service.
WARNING
Do not configure your daemon inside your jail, because updatejail script will wipe out all the data inside the jail. If you would want to
change any settings inside the jail, make the changes in the original location and then run updatejail . This makes it possible to place a
jail even to a ramdisk.
SEE ALSO updatejail(8)jailer.conf(5), dpkg(8)AUTHOR
This manual page was written by Peter Holtzl <peter.holtzl@balabit.hu>.
December 4, 2001 JAILER(5)