Hi There
I needed to write a Unix shell script which will pick up the data from a .CSV file and reformat it as per the requirement and write it to another .CSV file.
Currently I am in the proess of Data Import to "Remedy System" (A one kind of incident mangement Application) and this... (8 Replies)
Hello People
I have the following file.csv:
date,string,float,number,boolean
20080303,abc,1.5,123,Y
20080304,abc,1.2,345,N
20080229,nvh,1.4,098,Y
20080319,ugy,1.9,586,N
20080315,gyh,2.4,345,Y
20080316,erf,3.1,932,N
I need to filter the date field where I have a data bigger than I... (1 Reply)
Hi all,
I have written a shell script to search a specified directory (e.g. /home/user) for a list of specific words (shown as ${TMPDIR}/wordlist below). The script works well enough, but I was wondering if there was a way to display the line number that the word is found on?
Thanks!
cat... (1 Reply)
Hi Unix Gurus,
I tried to convert the attached xhtml table content into csv file using unix shell script (lynx -dump filename) and got the below results:
Title ID Owner Priority Estimate Project Change Date Changed By
Complexity Create Date Created By Detail Estimate Total De tail... (6 Replies)
Hi There
I need a script which will pick up the data from a .CSV file and reformat it as per the requirement and write it to another .CSV file.
I am using an application that will only take data in a particular format and need something that will convert without manual intervention.
The... (4 Replies)
Hi all,
I am new here, please don't eat me alive..
I am trying to find a good community to learn and participate in unix / linux discussions to help me improve in my current job.
That being said, I have a problem which I didn't expect to challenge me, but I can't seem to find a viable... (8 Replies)
User Aia had created this below script to help translate LDIF files to CSV format, and it works very well (thanks again Aia if you are reading this)
Here is the original thread.
https://www.unix.com/shell-programming-and-scripting/265753-ldap-data-csv-format.html?referrerid=302170129
However... (2 Replies)
I am new to html and need to convert the attached csv file data to html format ; running into issues. please assist.
#!/bin/ksh
echo "<html>" ;
echo "<head><style> table {border-collapse: collapse;} table, td, th {border: 1px solid black;} </style></head>"
echo "<title> REPORT </title>"
echo... (0 Replies)
Hi All,
I am new to shell scripting i am trying to convert the listner.log to csv which can be inturn converted to excel for easy reading.
i used this command
awk '/SID=/ && /HOST=/ && /PORT=/ && /USER=/ {
i=match($0,"SID="); i=i+RLENGTH; h0=substr($0,i);
i=match(h0,")");... (6 Replies)
I m looking for help here!!!
Can we filter the below log data into CSV format ?
1 2 3 4 5 6 7 8
timestamp INFO <text > - Some text (1 Reply)
Discussion started by: MohSalNiz
1 Replies
LEARN ABOUT SUNOS
csx_error2text
csx_Error2Text(9F) Kernel Functions for Drivers csx_Error2Text(9F)NAME
csx_Error2Text - convert error return codes to text strings
SYNOPSIS
#include <sys/pccard.h>
int32_t csx_Error2Text(error2text_t *er);
INTERFACE LEVEL
Solaris DDI Specific (Solaris DDI)
PARAMETERS
er Pointer to an error2text_t structure.
DESCRIPTION
This function is a Solaris-specific extension that provides a method for clients to convert Card Services error return codes to text
strings.
STRUCTURE MEMBERS
The structure members of error2text_t are:
uint32_t item; /*the error code*/
char test[CS_ERROR_MAX_BUFSIZE}; /*the error code*/
A pointer to the text for the Card Services error return code in the item field is returned in the text field if the error return code is
found. The client is not responsible for allocating a buffer to hold the text. If the Card Services error return code specified in the item
field is not found, the text field will be set to a string of the form:
"{unknown Card Services return code}"
RETURN VALUES
CS_SUCCESS Successful operation.
CS_UNSUPPORTED_FUNCTION No PCMCIA hardware installed.
CONTEXT
This function may be called from user or kernel context.
EXAMPLES
Example 1: : Using the csxError2Text function
if ((ret = csx_RegisterClient(&client_handle, &
client_reg)) != CS_SUCCESS)
{
error2text_t error2text;
error2text.item = ret;
csx_Error2Text(&error2text);
cmn_err(CE_CONT, "RegisterClient failed %s (0x%x)",
error2text.text, ret);
}
SEE ALSO csx_Event2Text(9F)
PC Card 95 Standard, PCMCIA/JEIDA
SunOS 5.10 19 Jul 1996 csx_Error2Text(9F)