12-17-2012
Hi Arun, you would need to create a new thread for a new problem..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a csv file and there is a problem which I need to resolve.
Column1,Column2,Colum3,Column4
,x,y,z
,d,c,v
t,l,m,n
,h,s,k
,k,,y
z,j, ,p
Now if you see column1 for row 1 and row 4 though they are null there is a space but in case of row2 and row 5 there is no space.
I want row... (3 Replies)
Discussion started by: RubinPat
3 Replies
2. Shell Programming and Scripting
Hi,
Requirement: Exporting data from Oracle to UNIX into "Comma" delimiter.
Help Needed: I was able to connect to Oracle and import the data. But please let me know while importing the data I need to make it into Comma delimiter flat file.
For Example:
Source Data -
100 ABC TLead... (6 Replies)
Discussion started by: arunvasu2
6 Replies
3. Shell Programming and Scripting
Hello,
I am having flat file (Comma Delimiter) and the data in the file is as given below.
EMPNO, ENAME, DESIGNATION, SALARY
10979, Arun Kumar, Cosultant, 35000
13555, Bidhu Shekar, Senior Consultant, 45000
15000, Kiran, Kumar, Senior, Consultant, 40000
If... (9 Replies)
Discussion started by: arunvasu2
9 Replies
4. UNIX for Dummies Questions & Answers
How can i make a tab delimiter file to a comma delimiter??? (13 Replies)
Discussion started by: saggiboy10
13 Replies
5. Shell Programming and Scripting
I have a text file delimited by commas, with three fields (no " marks).
I want to use awk to create a fourth field which is equal to the line number + field 1 + .txt
I've searched this forum and found the following
nawk -v OFS=';' '{print $0, FNR}' myFile
Which I've amended to change the... (2 Replies)
Discussion started by: b.hamilton
2 Replies
6. Shell Programming and Scripting
Hi,
I'm dealing with an issue and losing a lot of hours figuring out how i would solve this.
I have an input file which looks like this:
('BLABLA +200-GRS','Serviço ','TarifaçãoServiço','wap.bla.us.0000000121',2985,0,55,' de conversão em escada','Dia','Domingos')
('BLABLA +200-GRR','Serviço... (6 Replies)
Discussion started by: poliver
6 Replies
7. Shell Programming and Scripting
Dear Friends,
I have file as below
1|sdf|rere|sert|trt|rtr
i want to change the delimeter first three columns two fields
expected output
1~sdf~rere|sert|trt|rtr
Plz help (2 Replies)
Discussion started by: i150371485
2 Replies
8. Shell Programming and Scripting
The input file is as below
AR,age,marks,roll,section,evin,25,80,456,A,atch,23,56,789,B,eena,24
,78H245,C,Ps,ot,ecessary,hat,ame comes first then age and rest AR
AZ,kevin,25,80,456,A,Satch,23,56,789,Satch,23,56,789,B,Meena,24,78,H245,C,AZ
................
................
I am writting... (8 Replies)
Discussion started by: millan
8 Replies
9. Shell Programming and Scripting
Hi,
Extremely new to Perl scripting, but need a quick fix without using TEXT::CSV
I need to read in a file, pass any delimiter as an argument, and convert it to bar delimited on the output. In addition, enclose fields within double quotes in case of any embedded delimiters.
Any help would... (2 Replies)
Discussion started by: JPB1977
2 Replies
10. Shell Programming and Scripting
Hi All,
I have a file which has data like
a,b
c,d
e,f
g,h
And I need to insert a new column at the begining with sequence no( 1 to n)
1,a,b
2,c,d
3,e,f
4,g,h
Please let me know how to acheive this in unix (3 Replies)
Discussion started by: weknowd
3 Replies
LEARN ABOUT HPUX
pthread_create
pthread_create(3T) pthread_create(3T)
NAME
pthread_create() - create a new thread of execution.
SYNOPSIS
PARAMETERS
thread Pointer to the location where the created thread's ID is to be returned.
attr Pointer to the thread attributes object describing the characteristics of the created thread. If the value is NULL,
default attributes will be used.
start_routine
Function to be executed by the newly created thread.
arg Parameter to be passed to the created thread's start_routine.
DESCRIPTION
The function is used to create a new independent thread within the calling process. The thread will be created according to the attributes
specified by attr. If attr is NULL, the default attributes will be used. The values of the attributes in attr describe the characteris-
tics of the to-be-created thread in detail. Refer to the function for a list of the default attribute values. A single attributes object
can be used in multiple calls to the function
When a thread is created with an attributes object, the attributes are, in effect, copied into the created thread. Consequently, any
change to the attributes object will not affect any previously created threads. Once all threads needing a specific attributes object have
been created, the attributes object is no longer needed and may be destroyed.
When the new thread is created, it will execute which has only one parameter, arg. If returns, an implicit call to is made. The return
value of is used as the thread's exit status.
The created thread's scheduling policy and priority, contention scope, detach state, stack size, and stack address are initialized accord-
ing to their respective attributes in attr. The thread's signal mask is inherited from the creating thread. The thread's set of pending
signals is cleared.
Refer to pthread_exit(3T), pthread_detach(3T), and pthread_join(3T) for more information on thread termination and synchronizing with ter-
minated threads.
On success, the ID of the created thread is returned in thread. If fails, a thread is not created and the contents of thread are unde-
fined.
Thread IDs are guaranteed to be unique only within a process.
NOTE: If the main thread returns from an implicit call to is made. The return value of is used as the process' exit status. The main
thread can terminate without causing the process to terminate by calling
Notes
It is unspecified whether joinable threads that have exited but haven't been joined count against the limit.
RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
If any of the following occur, the function returns the corresponding error number:
attr in an invalid thread attributes object.
The value specified by
thread is invalid.
The necessary resources to create another thread are not available,
or the number of threads in the calling process already equals
The scheduling policy or scheduling attributes specified in
attr are invalid.
The caller does not have the appropriate privileges to create a thread with
the scheduling policy and parameters specified in attr.
AUTHOR
was derived from the IEEE POSIX P1003.1c standard.
SEE ALSO
pthread_exit(3T), pthread_join(3T), fork(2).
STANDARDS CONFORMANCE
Pthread Library pthread_create(3T)