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 OSF1
svc.conf
svc.conf(4) Kernel Interfaces Manual svc.conf(4)NAME
svc.conf - Database service selection configuration file
DESCRIPTION
The /etc/svc.conf file is a mandatory system file that allows you to select the desired services on a per database basis. The default
/etc/svc.conf file has local as the service selected for each database. This file must be modified when adding or removing a naming ser-
vice, such as the Network Information Service or BIND. The valid services are local, yp, and bind. Modifications to the /etc/svc.conf
file can be made with an editor or the /usr/sbin/svcsetup command for database service selection. Changes take effect immediately. The
recommended configuration is that you have local as the first entry for all databases.
RESTRICTIONS
White space is allowed only after commas or newlines.
You must have local as the first entry for the passwd and hosts databases.
You must have yp as the entry for the netgroup database.
EXAMPLES
The following is a sample /etc/svc.conf file: aliases=yp group=local,yp hosts=local,bind,yp netgroup=yp networks=local,yp passwd=local pro-
tocols=local,yp rpc=local,yp services=local
SECLEVEL=BSD # for backwards compatibility ONLY
FILES
/etc/svc.conf
/usr/sys/include/sys/svcinfo.h
RELATED INFORMATION
Commands: svcsetup(8)
Functions: getsvc(3)
Network Administration delim off
svc.conf(4)