09-05-2013
Hello Pamu, Scrutinizer, Mr.Bean
Many thanks! all 3 solution works correctly
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please help, I am new to shell Programming. I have three files each containg a unique text (key) field (e.g. ABCDEF, XCDUD as shown below), line return followed by some data of which there can be more then one instance. In addition, in some cases there may be no data but only a key field. Please... (18 Replies)
Discussion started by: gugs
18 Replies
2. Shell Programming and Scripting
Kindly help on follows.
I have 2 files. One file contains only one column of mobile numbers. And total records in a file 12 million. Second file contains 2 columns mobile numbers and balance. and total records 30 million. I want to find out balance of each data in file 1 corresponding to file 2.... (2 Replies)
Discussion started by: kamal_418
2 Replies
3. Shell Programming and Scripting
Hello,
I am new to sed and hope that someone can help me with the following task.
I need to modify a txt file which has format like this:
xy=CreateDB|head.queue|head.source|head.definition|rtf.edit|rtf.task|rft.cut
abc|source|divine|line4|5|true
into something like:
head.queue=abc... (19 Replies)
Discussion started by: pinkypunky
19 Replies
4. Shell Programming and Scripting
if input1 1st row labels (S1or S2 or S3 or any (actually so many in original text file)) are similar to 1st column of input2 i.e "ID" merge them together based on input1 1st row labels.
for example take S1.....
input1
"aphab" "S1" "S2" "S3"
"a" "A/A" "A/A" "A/A"
"b" ... (19 Replies)
Discussion started by: stateperl
19 Replies
5. Shell Programming and Scripting
Hi,
I have a problem with comparison of two files
file1
20100101
20090101
20080101
20071001
20121229
file2
19990112 12 456 7
20011131 19
20100101 2 567 1 987
17890709 123 555
and, sh script needs to compare of these two files and give out to me result:
20100101 2 567 1 987
it... (5 Replies)
Discussion started by: shizik
5 Replies
6. Shell Programming and Scripting
Hi,
I've got files with names like this :
_Some_Name_178_HD_.mp4
_Some_Name_-_496_Vost_SD_(720x400_XviD_MP3).avi
Goffytofansub_Some name 483_HD.avi
And iam trying to rename it with a regular pattern. My gola is this :
Ep 178.mp4
Ep 496.avi
Ep 483.avi
I've tried using sed with... (8 Replies)
Discussion started by: VLaw
8 Replies
7. Shell Programming and Scripting
I am a biologist and using an program on a computer cluster that generates a lot of data. The program creates a directory named
ExperimentX (where X is a number) that contains files "out.pdb" and "log.txt". I would like to create a script that renames the out.pdb file to out_ExperimentX.pdb (or... (1 Reply)
Discussion started by: yaledocker
1 Replies
8. Shell Programming and Scripting
Dear all,
I have a complex data file shown below,,,,,
A_ABCD_13208 0 0 4.16735 141044 902449 1293900 168919
C_ABCD_13208 0 0 4.16735 141044 902449 1293900 168919
A_ABCDEF715 52410.9 18598.2 10611 10754.7 122535 252426 36631.4
C_DBCDI_1353 0... (19 Replies)
Discussion started by: AAWT
19 Replies
9. Shell Programming and Scripting
Hi all
I have two files which I have to compare that whetehr there is soemthing common or not
body, div, table, thead, tbody, tfoot, tr, th, td, p { font-family: "Liberation Sans"; font-size: x-small; }
body, div, table, thead, tbody, tfoot,... (2 Replies)
Discussion started by: manigrover
2 Replies
10. Shell Programming and Scripting
I have the requirement
I have two files
cat fileA
something
anythg
nothing
everythg
cat fileB
everythg
anythg
Now i shld use fileB and compare every line at fileA and get the output as
something
nothing (3 Replies)
Discussion started by: Priya Amaresh
3 Replies
LEARN ABOUT X11R4
dhcp_modules
dhcp_modules(5) Standards, Environments, and Macros dhcp_modules(5)
NAME
dhcp_modules - data storage modules for the DHCP service
DESCRIPTION
This man page describes the characteristics of data storage modules (public modules) for use by the Solaris Dynamic Host Configuration Pro-
tocol (DHCP) service.
Public modules are the part of the DHCP service architecture that encapsulate the details of storing DHCP service data in a data storage
service. Examples of data storage services are NIS+, Oracle, and ufs file systems.
Public modules are dynamic objects which can be shipped separately from the Solaris DHCP service. Once installed, a public module is visi-
ble to the DHCP service, and can be selected for use by the service through the DHCP service management interfaces (dhcpmgr(1M), dhcpcon-
fig(1M), dhtadm(1M), and pntadm(1M)).
Public modules may be provided by Sun Microsystems, Inc or by third parties.
The Solaris DHCP service management architecture provides a mechanism for plugging in public module-specific administration functionality
into the dhcpmgr(1M) and dhcpconfig(1M) utilities. This functionality is in the form of a Java Bean, which is provided by the public module
vendor. This Java Bean collects public module-specific configuration from the user (you) and provides it to the Solaris DHCP service.
The Solaris DHCP service bundles three modules with the service, which are described below. There are three dhcpsvc.conf(4) DHCP service
configuration parameters pertaining to public modules: RESOURCE, PATH, and RESOURCE_CONFIG. See dhcpsvc.conf(4) for more information about
these parameters.
SUNWfiles
This module stores its data in ASCII files. Although the format is ASCII, hand-editing is discouraged. It is useful for DHCP service envi-
ronments that support several hundred to a couple thousand of clients and lease times are a few hours or more.
This module's data may be shared between DHCP servers through the use of NFS.
SUNWbinfiles
This module stores its data in binary files. It is useful for DHCP service environments with many networks and many thousands of clients.
This module provides an order of magnitude increase in performance and capacity over SUNWfiles.
This module's data cannot be shared between DHCP servers.
SUNWnisplus
This module stores its data within a NIS+ domain. It is useful in environments where NIS+ is already deployed and facilitates sharing among
multiple DHCP servers. This module suports several hundred to a few thousand clients with lease times of several hours or more.
The NIS+ service should be hosted on a machine with ample CPU power, memory, and disk space, as the load on NIS+ is significant when it is
used to store DHCP data. Periodic checkpointing of the NIS+ service is necessary in order to roll the transaction logs and keep the NIS+
service operating at its highest efficiency. See nisping(1M) and crontab(1) for more information.
SEE ALSO
crontab(1), dhcpconfig(1M), dhcpmgr(1M), dhtadm(1M), nisping(1M), pntadm(1M), dhcpsvc.conf(4), dhcp(5)
Solaris DHCP Service Developer's Guide
SunOS 5.10 24 Jan 2003 dhcp_modules(5)