Hi
To delete some text in 2 files in line1 ( not complete line) in unix without opening the files.
For example: source file is like this
<?xml version="1.0"... (5 Replies)
Hi All,
Please help me out in fllowing problem.
I have text file which contains the data in following format.
Contents of file.txt are
setregid02
Test that setregid() fails and sets the proper errno values when a
non-root user attemps to change the real or effective... (2 Replies)
Hello, I am pretty new to UNIX/bash scripting, so this question may seem obvious. My experience is simply stringing commands together in a script, maybe doing some if/then testing and such, so I haven't gotten into anything too heavy...
I have a shell script that I use as a template to create... (7 Replies)
Hello!
I have text file:
From aaa@bbb Fri Jun 1 10:04:29 2010
--____OSPHWOJQGRPHNTTXKYGR____
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
My code '234565'. ... (2 Replies)
Dear Members,
I have a table in Oracle DB and one of its column name is INFO which has data in text format which we need to fetch in a script and create an xml file of a new table from the input.
The contents of a single cell of INFO column is like:
Area:app - aam
Clean Up Criteria:... (0 Replies)
Hi,
I had generated a report in my tool as followsoutput.txt
43.35
9
i needed the script to generate a new file like below
i want to append the text to each of these lines of my filenewoutputfile.txt should be
Total Amount : 43.35
Record Count:9
Regards,
Vasa Saikumar.
... (2 Replies)
Hi,
I have text file with the header like this
tracking_id condition replicate FPKM
XLOC_000001 alpha 1 10.3199
XLOC_000001 alpha 0 10.3686
XLOC_000001 alpha 2 15.5619
...
With the first column being genes, the second being the condition, the third... (5 Replies)
the requirements is to have a linux script which connects to a windows machine using ftp command and check for a flag file
if found copy a .csv file into current machine. (3 Replies)
I have input data looks like this which is a part of a csv file
7,1265,76548,"0102:04"
8,1266,76545,"0112:04"
I need to make the output data should look like this and the output data will be part of text file:
7|1265000 |7654899 |A|
8|12660000 |76545999 |B|
The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies
LEARN ABOUT SUNOS
wsreg_add_display_name
wsreg_add_display_name(3WSREG) Product Install Registry Library Functions wsreg_add_display_name(3WSREG)NAME
wsreg_add_display_name, wsreg_remove_display_name, wsreg_get_display_name, wsreg_get_display_languages - add, remove, or return a localized
display name
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
int wsreg_add_display_name(Wsreg_component *comp, const char *language, const char *display_name);
int wsreg_remove_display_name(Wsreg_component *comp, const char *language);
char *wsreg_get_display_name(const Wsreg_component *comp, const char *language);
char **wsreg_get_display_languages(const Wsreg_component *comp);
DESCRIPTION
For each of these functions, the comp argument specifies the component on which these functions operate. The language argument is the ISO
639 language code identifying a particular display name associated with the specified component.
The wsreg_add_display_name() function adds the display name specified by display_name to the component specified by comp.
The wsreg_remove_display_name() function removes a display name from the component specified by comp.
The wsreg_get_display_name() function returns a display name from the component specified by comp.
The wsreg_get_display_languages() returns the ISO 639 language codes for which display names are available from the component specified by
comp.
RETURN VALUES
The wsreg_add_display_name() function returns a non-zero value if the display name was set correctly; otherwise 0 is returned.
The wsreg_remove_display_name() function returns a non-zero value if the display name was removed; otherwise 0 is returned.
The wsreg_get_display_name() function returns the display name from the specified component if the component has a display name for the
specified language code. Otherwise, NULL is returned. The caller must not free the resulting display name.
The wsreg_get_display_languages() function returns a null-terminated array of ISO 639 language codes for which display names have been set
into the specified component. If no display names have been set, NULL is returned. It is the caller's responsibility to release the
resulting array, but not the contents of the array.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO wsreg_initialize(3WSREG), attributes(5)SunOS 5.10 22 Sep 2000 wsreg_add_display_name(3WSREG)