Requirement of Spliting a text file in UNIX Programing
Hi,
There is a requirement, needs to split the text file based on RC code present in text file.
For this, needs to write a unix shell programing script for the above requirement.
For example in text file, if there are distinct RC codes, then we needs to split into multiple text files. In this text file RC codes(9102 and 9103) are to be split in to 2 separate files.
Please find attached is the text file.
Could you please help me to get complete program logic for this requirement.
I want to try running the free down load from sun, their solaris 8.
I have an intel pentium 3, 550 mhz, 8 GB drive, with 128 ram. I this anough to run a unix os like solaris 8. Also is their a browser that I could use with solaris8 so as to connect to the internet. Does ie have a version for unix.... (3 Replies)
I have a file {filename} which contains 65000 records
I need to split into 6 smaller files roughly 11000 records each.
Can someone advise me of the Unix command to do so ?
Many thanks (2 Replies)
I want to write GUI using C programing in Unix server. But I can not use windows.h header file.
I want to create some text box using C programing.
Please suggest me any sample code or tutorial for this purpose.
I do not know any thing about GUI programing in C language.
Thanks in... (5 Replies)
I have a very big log file which looks like this:
I need to split this file and create files with "+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+" as the delimiter.
The file names need to be the contents of the next line after the delimiter(FIRST_ITEM,SECOND_ITEM...so on..). (7 Replies)
Dear All,
I have a very large file which which i would like split into indvidual frames evrytime the line ends with "ENDMDL" and then name frame1.pdb frame2.pdb etc
can any one give me a few sugeestions? ideally i would like to have ENDMDL at the end of each frame or not pressent at all.
an... (4 Replies)
Dear all-
I have a requirement to send an email via email with body content which looks something below-
Email body contents
--------------------
RequestType: Update
DateAcctOpened: 1/5/2010
Note that header information and data content should be normal text..
Please advice on... (5 Replies)
hi
I am strucked in a client server program
client need to login to server
client logins if only username and password are correct
i have written a program
username is stored as file and password is smilar to username whic is stored in that file
when server asks for username... (2 Replies)
Hi All,
I have a source file with data
Name ~ Groups
Muni~abc,was,USA_ax,123
Chaitanya~USA_12,was
Balaji~123,xyz,was
Ramu~123,xyz
From the second column i want to extract only the groups that matches the pattern 'USA_%' or if the group = 'was', and ignore any other columns.
... (8 Replies)
Hi Everyone,
Can anyone of you help me on how to get files creation time on ftp server/Remote server in unix.
Regards,
Avinash. (6 Replies)
Discussion started by: Avinash varma
6 Replies
LEARN ABOUT HPUX
patch_active_text
patch_active_text(5) File Formats Manual patch_active_text(5)NAME
patch_active_text - dynamically enable or disable running executable text to be modified via mprotect()
VALUES
Fail Safe
Default
semantics is enabled
Allowed values
or
DESCRIPTION
This tunable allows write access to text of a running process such that the active text can be modified. When this tunable is enabled, can
be used with a special flag, to modify the text of a running executable.
By default, does not work on text of a process. Enabling the tunable allows to work on text segments of a process. Making text writable
will create a private copy of the text to the process using this feature.
Once with special flag allows running text to be modified, further invocations of on text of a process with other prot flags are also
allowed.
For must always be used with (see mprotect(2)). must always be used on text address range.
After the first invocation of further mprotect(2) calls will work on text segments of process with any other prot flags; in other words,
will work on text with or any combinations of the above. The only requirement is that both these flags must be invoked first.
Who Is Expected to Change This Tunable?
System administrators who wish to change the default behavior.
Restrictions on Changing
Changes to this tunable take effect immediately.
When Should the Tunable Be Turned Off?
If an application expects to fail on text segments, the tunable should be turned off.
What Are the Side Effects of Turning the Tunable Off?
Applications will no longer be able to use on text of a process.
When Should the Tunable Be Turned On?
If an application wants its text segment to be writable and also wants to be able to work on text of processes, this tunable must be turned
on. Making text writable will create a private copy of the text to the process using this feature.
What Are the Side Effects of Turning the Tunable On?
Memory consumption in the system will increase. This is because with the process will create a private copy of the shared text on first
invocation. It should also be noted that large page benefits on text segments will be lost.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
SEE ALSO mprotect(2), copy_on_write(5)
Tunable Kernel Parameters patch_active_text(5)