I think it probably is 'space delimited' or you would not see spaces in the edit screen.
(gedit, nano, or whatever).
What is the origin of the file - did it come from Windows or even worse, MS word?
Please show the output of :
so we can see what you really have.
Hi All,
Please help me out with a script which checks whether a given file say abc.txt is in ASCII format and data is tab-delimited. If the condition doesn't satisfy then it should generate error code "100" for file not in ASCII format and "105" if it is not in tab-delimited format.
If the... (9 Replies)
Hi,
Can any one please help me in converting a tab delimited file in .csv file.
Records in my file are similar to mentioned below:
DET 001 0201 AC032508970 01478E1X8
DET 002 0202 AC032508971 01478E1X8
Could any one please suggest me what approach would be more suitable for this or if... (5 Replies)
Hi experts,
I need urget help! I have the a text file with this format:
Types of fruits
Name of fruits
1,1
Farm_no,1
apple,1
pineapple,1
grapes,1
orange,1
banana,1
2,2--->this is the record seperator
Farm_no,2
apple,1
pineapple,1
grapes,3
orange,2
banana,1
3,3--->this is the... (1 Reply)
Hello Gurus,
I have a text file containing nearly 12,000 tab delimited characters with 4000 rows. If the file size is small, excel can convert the text into coloumns. However, the file that I have is very big. Can some body help me in solving this problem?
The input file example,
... (6 Replies)
Hello,
I have a text file with space and tab (mixed) delimited file and need to convert into CSV.
# cat test.txt
/dev/rmt/tsmmt32 HP Ultrium 6-SCSI J3LZ 50:03:08:c0:02:72:c0:b5 F00272C0B5 0/0/6/1/1.145.17.255.0.0.0 /dev/rmt/c102t0d0BEST
/dev/rmt/tsmmt37 ... (6 Replies)
Hi, I have a rquirement in unix as below .
I have a text file with me seperated by | symbol and i need to generate a excel file through unix commands/script so that each value will go to each column.
ex:
Input Text file:
1|A|apple
2|B|bottle
excel file to be generated as output as... (9 Replies)
Hi
i have a problem in my job
i try to convert an excel file (xls extention) to text file (tab delimited), but no result with this comand
cat xxx.xls > xxx.txt
Do you have eny idea?
PS: sorry for my english
Thanks!! (4 Replies)
Hi All,
How can we convert pipe delimited ( or comma ) file to vertical tab (VT) delimited.
Regards
PK (4 Replies)
Discussion started by: prasson_ibm
4 Replies
LEARN ABOUT SUNOS
csx_event2text
csx_Event2Text(9F) Kernel Functions for Drivers csx_Event2Text(9F)NAME
csx_Event2Text - convert events to text strings
SYNOPSIS
#include <sys/pccard.h>
int32_t csx_Event2Text(event2text_t *ev);
INTERFACE LEVEL
Solaris DDI Specific (Solaris DDI)
PARAMETERS
ev Pointer to an event2text_t structure.
DESCRIPTION
This function is a Solaris-specific extension that provides a method for clients to convert Card Services events to text strings.
STRUCTURE MEMBERS
The structure members of event2text_t are:
event_t event; /*the event code*/
char text[CS_EVENT_MAX_BUFSIZE] /*the event code*/
The fields are defined as follows:
event The text for the event code in the event field is returned in the text field.
text The text string describing the name of the event.
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 csx_Event2Text()
xx_event(event_t event, int priority, event_callback_args_t *eca)
{
event2text_t event2text;
event2text.event = event;
csx_Event2Text(&event2text);
cmn_err(CE_CONT, "event %s (0x%x)", event2text.text, (int)event);
}
SEE ALSO csx_event_handler(9E), csx_Error2Text(9F)
PC Card 95 Standard, PCMCIA/JEIDA
SunOS 5.10 19 Jul 1996 csx_Event2Text(9F)