Hi all,
I'm having a little trouble solving a file split I need to get done.
I have the following data:
1. Light
1A. Light Soft
texture: it's soft
color: the color value is that of something light
vital statistics: srm: 23 og: 1.035 sp: 1.065
comment: this is nice if you like... (8 Replies)
Hi,
can some one please help me to split the file based on groups.
like in the below scenario x indicates the begining of the group and the file should be split each with 2 groups below there are 10 groups it should create 5 files. could you please help? (4 Replies)
I've this file and need to sort the data in each group
File would look like this ...
cat file1.txt
Reason : ABC
12345-0023
32123-5400
32442-5333
Reason : DEF
42523-3453
23345-3311
Reason : HIJ
454553-0001
I would like to sort each group on the last 4 fileds and print them... (11 Replies)
Hi,
I am writing just to share my appreciation for help I have received from this site in the past.
In a previous post Split File by Data Group I received a lot of help with a troublesome awk script to reformat some complicated data blocks. What I learned really came in hand recently when I... (1 Reply)
Hello I am new to scripts, codes, bash, terminal, etc.
I apologize this my be very scattered because I frankly don't have any idea where to begin and I have had trouble sleeping lately.
I have several 2GB files I wish to split.
This Code 00 00 01 BA ** ** ** ** ** ** ** ** C3 F8 00 00 01 BB 00... (17 Replies)
I'm trying to return only one row with the highest value for PCT_MAX_USED. Any suggestions?
When I add this code, I get the ORA-00937 error.
trunc(max(decode( kbytes_max, 0, 0, (kbytes_alloc/kbytes_max)*100))) pct_max_used
This is the original and returns all rows.
select (select... (3 Replies)
Hi,
sry for poor english
I have a group of hex number as : 4D40:4D42
I want so split this group in a list as :
4D40,4D41,4D42
i don't know how i can do this in ksh
Thanks (5 Replies)
File examples
f17_mar_01_02_03_04_fsw1.xml
f17_mar_01_02_03_04_fsw2.xml
f17_mar_01_02_03_04_fsw3.xml
f17_feb_13_20_49_06_fsw1.xml
f17_feb_13_20_49_06_fsw2.xml
f17_feb_13_20_49_06_fsw3.xml
I have many xml files that are grouped with same file name, but are numbered from 1-to-many... (2 Replies)
Discussion started by: aachave1
2 Replies
LEARN ABOUT HPUX
group
group(4) Kernel Interfaces Manual group(4)NAME
group, logingroup - group file, grp.h
DESCRIPTION
contains for each group the following information:
o group name
o encrypted password
o numerical group ID
o comma-separated list of all users allowed in the group
The file is an ASCII file. Fields are separated by colons, and each group is separated from the next by a new-line. No spaces should sep-
arate the fields or parts of fields on any line. If the password field is null, no password is associated with the group.
There are two files of this form in the system, and The file exists to supply names for each group, and to support changing groups by means
of the utility (see newgrp(1)). provides a default group access list for each user via and (see login(1) and initgroups(3C)).
The real and effective group ID set up by for each user is defined in (see passwd(4)). If is empty, the default group access list is
empty. If and are links to the same file, the default access list includes the entire set of groups associated with the user. The group
name and password fields in are never used; they are included only to give the two files a uniform format, allowing them to be linked
together.
All group IDs used in or should be defined in
These files reside in directory Because of the encrypted passwords, these files can and do have general read permission and can be used,
for example, to map numerical group IDs to names.
The group structure is defined in and includes the following members:
NETWORKING FEATURES
NIS
The file can contain a line beginning with a plus which means to incorporate entries from Network Information Services (NIS). There are
two styles of entries: means to insert the entire contents of NIS group file at that point, and means to insert the entry (if any) for name
from NIS at that point. If a entry has a non-null password or group member field, the contents of that field overide what is contained in
NIS. The numerical group ID field cannot be overridden.
A group file can also have a line beginning with a minus these entries are used to disallow group entries. There is only one style of
entry; an entry that consists of means to disallow any subsequent entry (if any) for name. These entries are disallowed regardless of
whether the subsequent entry comes from the NIS or the local group file.
WARNINGS
Group files must not contain any blank lines. Blank lines can cause unpredictable behavior in system administration software that uses
these files.
Group ID (gid) 9 is reserved for the Pascal Language operating system and the BASIC Language operating system. These are operating systems
for Series 300/400 computers that can co-exist with HP-UX on the same disk. Using this gid for other purposes can inhibit file transfer
and sharing.
The length of each line in is limited to as defined in Because of this limit, users should not be listed in their primary group - only in
their additional groups.
If is linked to group membership for a user is managed by NIS, and no NIS server is able to respond, that user cannot log in until a server
does respond.
There is no single tool available to completely ensure that and are compatible. However, and can be used to simplify the task (see
pwck(1M)).
There is no tool for setting group passwords in
DEPENDENCIES
NIS
Here is a sample file:
Group has a gid of 1 and members and The group is ignored since it appears after the entry Also, the group has members and and the password
and group ID of the NIS entry for the group All groups listed in the NIS are pulled in and placed after the entry for The plus and minus
features are part of NIS. Therefore if NIS is not installed, these features cannot work.
FILES SEE ALSO groups(1), newgrp(1), passwd(1), setgroups(2), crypt(3C), getgrent(3C), initgroups(3C), passwd(4).
STANDARDS CONFORMANCE group(4)