Hi Friends,
I have a file as below :
machine1:
abc
xyz
qwerty
machine2:
jkl
mno
machine3:
hhh
kkk
qwerty
Now ...i need to find all the stanza names that have the pattern "qwerty'"
in it...( i need to get the output as machine1 and machine3 since... (4 Replies)
I'm working on formatting some attendance data to meet a vendors requirements to upload to their system. With some help on the forums here, I have the data close. But they've since changed what they want.
The vendor wants me to submit three fields to them. Field 1 is the studentid field,... (4 Replies)
Hi,
I have a file with following lines:
chr1 10 AC=2;AF=1.00;AN=2;DP=2;Dels=0.00;HRun=0;HaplotypeScore=0.00;MQ=23.00;MQ0=0;QD=14.33;SB=-10.01
chrX 18 AB=0.52;AC=1;AF=0.50;AN=2;DP=203;DS;Dels=0.00;HRun=0;HaplotypeScore=20.01;MQ=15.63;MQ0=85;QD=12.80;SB=-1289.58
I need to extract 4... (2 Replies)
Hi experts,
I need to print the first field first then last two fields should come next and then i need to print rest of the fields.
Input :
a1,abc,jsd,fhf,fkk,b1,b2
a2,acb,dfg,ghj,b3,c4
a3,djf,wdjg,fkg,dff,ggk,d4,d5
Expected output:
a1,b1,b2,abc,jsd,fhf,fkk... (6 Replies)
I'm trying to compare 2 files for differences in a selct number of fields. When differnces are found it will write the whole record of the second file including appending '|C' out to a delta file. Each record will have 20 fields, but only want to do comparison of 1st 15 fields. The 1st field of... (7 Replies)
The default: stanza in /etc/security/limits is still set to 2097151 on fsize (max file size). I know tar had issues with large files but is there any other reasons for it? I'm thinking yes since it's still set to that by IBM.
Cheers,
DH (4 Replies)
Hi
I have a file as below
<field1> <field2> <field3> ... <field_num1> <field_num2>
Trying to sort based on difference of <field_num1> and <field_num2> in desceding order and print all fields.
I tried this and it doesn't sort on the difference field .. Appreciate your help.
cat... (9 Replies)
As it was ultimately Don Craguns idea that saved the whole project i can as well give something back to the community. This is my stanza file parser, which was written only using ksh without any external programs.
The stanza structure
There is some inconsistency as to what exactly is meant by... (0 Replies)
Hi,
Below are the sample files. x.txt is from an Excel file that is a list of users from Windows and y.txt is a list of database account.
$ head -500 x.txt y.txt
==> x.txt <==
TEST01 APP_USER_PROFILE
USER03 APP_USER_PROFILE
TEST02 APP_USER_EXP_PROFILE
TEST04 APP_USER_PROFILE
USER01 ... (3 Replies)
Discussion started by: newbie_01
3 Replies
LEARN ABOUT OSF1
stanza
stanza(4) Kernel Interfaces Manual stanza(4)NAME
stanza - Stanza file format
SYNOPSIS
stanza
DESCRIPTION
A stanza file format is used in conjunction with the libAF(3) stanza file library.
The stanza file syntax rules are as follows: Separate entries by one or more blank lines. A colon (:) terminates a entry name. A newline
terminates an attribute name and value pair. Separate a attribute name and attribute value with an equal sign (=). Separate more than one
attribute value with a comma (,). Entry names and attribute names can contain any printable character, except whitespace, a newline, or
special characters, unless specified appropriately. Entry attribute values can contain any printable character, except a newline or spe-
cial characters, unless specified appropriately. Trailing blanks or tabs are allowed at the beginning or end of lines. A number sign (#)
at the beginning of a line indicates a comment. Comments should be included only at the beginning or the end of an entry.
The syntax for a stanza file entry is as follows:
entry_name:
Attribute1_name = Attribute1_value
Attribute2_name = Attribute2_value
Attribute3_name = Attribute3_value1, Attribute3_value2
.
.
.
The entry_name variable specifies the entry name. The attributes for the entry are specified with the Attribute1_name, Attribute2_name,
and Attribute3_name variables. The values for the attributes are specified with the Attribute1_value, Attribute2_value, Attribute3_value1,
and Attribute3_value2 variables.
Several special quoting characters allow attribute values to contain special values and data representations. If you specify a quoting
character, surround the attribute value with quotes. For example, to specify an octal value use the slash character: 07
RELATED INFORMATION
Commands: sysconfigdb(8), cfgmgr(8)
Functions: libAF(3)
Files: /etc/sysconfigtab(4) delim off
stanza(4)