09-20-2012
Do the lines to be changed always have 9 fields, or do we have to handle any line with an odd number (greater than or equal to 5) fields?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have following requirement. Pls suggest.
To search a string in a file which is combination of character and number(always 9 digit, but numeric). if found then caputure the exit return code as 0 else 1 , if 0 then next job can be triggerd. If exit code is 1, should return a failure... (10 Replies)
Discussion started by: zooby
10 Replies
2. Shell Programming and Scripting
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
Discussion started by: royzlife
12 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have log file which rolls out every second which is as this.
HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Discussion started by: karthikprakash
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a log file containing below data
12/3/14 12:43:59 AM WIT |Performance threshold: elapsed time = 3152... (5 Replies)
Discussion started by: csm231
5 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have logfile like this..
=== 2014-02-09 15:46:59,936 INFO RequestContext - URL: '/eyisp/sc/skins/EY/images/pickers/comboBoxPicker_Over.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
=== 2015-02-09... (8 Replies)
Discussion started by: kishk
8 Replies
6. Shell Programming and Scripting
Hello I have a script that searches a file for a specific string and then changes the nth column after that string. I have searched online for how to do this with sed but have not seemed to find a solution that works for me. I am using bash.
Some background info:
- Currently I am using awk to... (4 Replies)
Discussion started by: prodigious8
4 Replies
7. Shell Programming and Scripting
Hello All of Master Script ,
i need help to solve my problem
before :
mount /dev/rdsk/c1t69d0s6 /dev/rdsk/c1t69d0s6 /vol/cl123/PURGE1 ufs
mount /dev/rdsk/c1t70d0s6 /dev/rdsk/c1t70d0s6 /vol/cl123/PURGE2 ufs
expected :
mount /dev/dsk/c1t69d0s6 /dev/rdsk/c1t69d0s6 /PURGE1 ufs
mount ... (3 Replies)
Discussion started by: k0p0nkkk
3 Replies
8. Shell Programming and Scripting
I did it myself (0 Replies)
Discussion started by: apenkov
0 Replies
9. Shell Programming and Scripting
I am trying to use awk to change a specific string in a field, if it is found, to another value. In the tab-delimited file the text in bold in $3 contains the string 23, which is always right before a ., if it is present.
I am trying to change that string to X, keeping the formatting and the... (3 Replies)
Discussion started by: cmccabe
3 Replies
10. UNIX for Beginners Questions & Answers
Lets say I have a massive directory which is filled with other directories all filled with different c++ scripts and I want a listing of all the scripts that contain the string: "this string". Is there a way to use a grep search for that? I tried:
grep -lr "this string" *
but I do not... (3 Replies)
Discussion started by: Circuits
3 Replies
LEARN ABOUT REDHAT
overview.fmt
OVERVIEW.FMT(5) File Formats Manual OVERVIEW.FMT(5)
NAME
overview.fmt - format of news overview database
DESCRIPTION
The file <pathetc in inn.conf>/overview.fmt specifies the organization of the news overview database. Blank lines and lines beginning with
a number sign (``#'') are ignored. The order of lines in this file is important; it determines the order in which the fields will appear
in the database.
Most lines will consist of an article header name, optionally followed by a colon. A trailing set of lines can have the word ``full''
appear after the colon; this indicates that the header should appear as well as its value.
If this file is changed, new overview records will be constructed with the modified format. If it is desired to update existing records,
it is necessary to rebuild the existing overview database using makehistory(8) after removing all existing overview files.
``Xref:full'' must be included, or innd(8) and other programs which utilize overview method cannot start.
The default file, show below, is compatible with Geoff Collyer's ``nov'' package:
Subject:
From:
Date:
Message-ID:
References:
Bytes:
Lines:
Xref:full
Usually the only modifications which should be made to the default file are additions of new fields to the end of the file; all such fields
should have ``full'' after the colon. The first eight fields should remain in the same order as above.
HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Intended to be compatible with the nov package written by Geoff Collyer
<geoff@world.std.com>. This is revision 1.6.6.3, dated 2002/01/05.
SEE ALSO
inn.conf(5)
OVERVIEW.FMT(5)