I have a situation where I am writing a shell script that will accept a date value it will then pass this date value to an Oracle stored procedure for processing.
I want to format the date into (01-SEP-08) before passing to the proc. I also want to make sure the value passed in is a date value... (1 Reply)
The segment titled "Before" shows how it is now and the segment "After" (shown below) is how I want it to be sorted. Probably as a CSV format so that I can export it to a spreadsheet.
Need your help and suggestions!!
Before:
1500.100:
by the old run:
-- --- --- ----
neitqodo <... (1 Reply)
how to convert the result of the select query to comma seperated data and put in a .csv file using korn shell.
Pls help me as its very urgent.
Thanks,
Hema. (1 Reply)
Dear Friends,
I need urgent help from u..
I have two files,file1 & file 2..
file1 have a existing data of file2.So i want to delete those existing datas from file1 (which contain the data from file1)
My file1 like this
rs39348 1 1045729 A G 0.1791 0.2054 0.84 ... (3 Replies)
I have a file in unix with sample data as follows :
--------------------------------------------------------------
--------------------------------------------------------------
{30001002|XXparameter|Layout|$
I want this file to be splitted into different files and corresponding to the sample... (54 Replies)
Hi Experts,
I have a filelist collected from another server , now want to sort the output using date/time stamp filed.
- Filed 6, 7,8 are showing the date/time/stamp.
Here is the input:
#----------------------------------------------------------------------
-rw------- 1 root ... (3 Replies)
Hi,
I have a file where data is pipe separated.First i want to sort the file content by date . Then i want to pick up the records based on the first column which should be unique and not have duplicates.
NYSE|yyyrrrddd|toronto|isin|ticker|2013-05-15... (2 Replies)
Hi ,
I have below data inside a file named ref.psv . I want to create a shell script which will do the below 2 points :
(1) sort the file content first based on the latest date which is the last column in the file (actual file its the 175th column)
(2)after sorting the file based on latest date... (3 Replies)
Hi,
i "tried" to sort data by date. So far, i used sed to take the data from the last and the actual month. Now, after changing the year it is not working properly.
i use:
GNU bash, version 4.2.45(1)-release (x86_64-suse-linux-gnu)
sed -n '/\//p' $Home/../scripte/pd_0.txt
y is a... (6 Replies)
Discussion started by: IMPe
6 Replies
LEARN ABOUT SUNOS
wsreg_query_create
wsreg_query_create(3WSREG) Product Install Registry Library Functions wsreg_query_create(3WSREG)NAME
wsreg_query_create, wsreg_query_free - create a new query
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
Wsreg_query *wsreg_query_create(void);
void wsreg_query_free(Wsreg_query *query);
DESCRIPTION
The wsreg_query_create() function allocates a new query that can retrieve components from the product install registry.
The wsreg_query_free() function releases the memory associated with the query specified by query.
RETURN VALUES
The wsreg_query_create() function returns a pointer to the newly allocated query. The resulting query is completely empty and must be
filled in to describe the desired component.
USAGE
The query identifies fields used to search for a specific component in the product install registry. The query must be configured and then
passed to the wsreg_get(3WSREG) function to perform the registry query.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO wsreg_get(3WSREG), wsreg_initialize(3WSREG), wsreg_query_set_id(3WSREG), wsreg_query_set_instance(3WSREG), wsreg_query_set_loca-
tion(3WSREG), wsreg_query_set_unique_name(3WSREG), wsreg_query_set_version(3WSREG), wsreg_unregister(3WSREG), attributes(5)SunOS 5.10 22 Sep 2000 wsreg_query_create(3WSREG)