Hi,
How to separate numbers and words(with full alphabets) in a particular file and store it in two different files.
Please help me out for this.Using shell scripting.
:confused::confused: (1 Reply)
Hi all,
Please some help over here. I have a Sales.txt file containing info in blocks for
every sold product in the pattern showed below (only for 2 products).
NEW BLOCK
SALE DATA
PRODUCT SERIAL
79833269999 146701011945004
.Some other data
.Some... (17 Replies)
Hi,
I have to write a shell script that converts numbers in to words
below is what i wrote.My script is not running.
-----------------------------------
echo -n "Enter number : "
read n
len= echo $n | wc -c
echo " number in words : "
for ( i=1; i<len; i++ )
do
num=echo $n... (5 Replies)
Hi guys,
I have got a file which doesn't have the same number of columns in each line. I would like to print the second column and the one that begins with 33= and has some numbers after '33='
Can you please help me asap?
Cheers (7 Replies)
Hi All,
I have searched the forum and tried to print only matching(pattern) words from the file, but its printing entire line. I tried with grep -w. I am on sunsolaris.
Eg:
cat file
A|A|F1|F2|A|F3|A
A|F10|F11|F14|A|
F20|A|F21|A|F25
I have to search for F (F followed by numbers) and ... (5 Replies)
Hi,
Sorry in advance for propably a silly question, but I am a bit lost.
On some of the linux job flow I have the following check:
if ($file != 1500) then
echo ERROR
It works ok, all times $file is not equal to 1500 I have the error message.
I try to do something similar... (7 Replies)
Hi. I have a file containing words and numbers associated with them as follows -
c 2
b 5
c 5
b 6
a 10
b 16
c 18
a 19
b 21
c 27
a 28
b 33
a 76
a 115
c 199
c 251
a 567
a 1909 (4 Replies)
Hi All,
I tried to solve this but the result gives me all zeros for one file. I failed to do for all 500 files.
I have some 500 files with the extension .dat I have another set of files; 500 in number with extension .dic I created these .dic files by using sort -u from the actual .dat files.... (2 Replies)
Hi All,
I have a file which looks like this:
abc 1
abc 2
abc 3
abc 4
abc 5
bcd 1
bcd 3
bcd 3
bcd 5
cde 7
This file is just a miniature version of what I really have. Original file is some 1 million lines long.
I have tried to come up with the code for what I wish to accomplish... (1 Reply)
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)