10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to pass the comma separated values (string) returned from Plsql Procedure to UNIX variable.
getting the below log message
cat: -: Bad file descriptor
awk: cmd. line:1: fatal: error reading input file `-': Bad file descriptor
The output coming from plsql procedure is... (3 Replies)
Discussion started by: Mahesh3089
2. Shell Programming and Scripting
I have below data in file in comma seperated, but 4th column is containing comma in between numbers, bcz of which when i tried to parse the file the column 6th value(5049641141) is being removed from the file and value(222.82) in column 5 becoming value of column6.
... (3 Replies)
Discussion started by: as7951
3. Shell Programming and Scripting
I wrote a database command that queries our application and outputs a whole bunch of values to a text file. I need to assign the output to two values.
Here is a sample of the output:
I would like... (9 Replies)
Discussion started by: jeffs42885
4. UNIX for Dummies Questions & Answers
I have a large number of files which are written as csv (comma-separated values).
Does anyone know of simple sed/awk command do achieve this?
---------- Post updated at 10:59 AM ---------- Previous update was at 10:54 AM ----------
Guess I asked this too soon. Found the... (0 Replies)
Discussion started by: lost.identity
5. Shell Programming and Scripting
I am facing issue, to read words in line, line as follow and i want to read word at each comma
So i want read like
Thanks (1 Reply)
Discussion started by: sujit_kashyap
6. Shell Programming and Scripting
I have a comma separated csv , and all the text field is wrapped by double quote. Issue is some text field contain comma as well inside double quote. so it is difficult to process.
Input in the csv file is ,
I need output like below,... (8 Replies)
Discussion started by: Uttam Maji
7. Shell Programming and Scripting
i need to read data from a file that are comma separated then reorder them in another file to be generated
and transform this into:
Will appreciate your fast reply
Regards! (5 Replies)
Discussion started by: maiooi90
8. Shell Programming and Scripting
Hello friends, I need ur help.I want to write a script. The script should read contents from a file namely xyz. e.g xyz abcd,1234,efgh,7854378 dhnsa,dsakjkdl,43432,ZXDsa the script should store comma (,) seperated values in different variables. Once pointer will reach end of line (\n), it should... (1 Reply)
Discussion started by: akhtar.bhat
9. Shell Programming and Scripting
I have a comma-separated file.
1. The first line of the file(header) should have 4 commas(5 fields).
2. The last line of the file should have 1 comma(2 fields).
Pls help me in checking this condition in a shell script.
And the number of lines between the first line and last... (11 Replies)
Discussion started by: KrishnaSaran
10. UNIX for Dummies Questions & Answers
I have a problem with trying to run a shell script that reads in user input, validates, and sets to a 'default' value if the input is not valid. I cannot get the portion of resetting to a default value to work. These lines are skipped, and the
value of x is still whatever the user... (1 Reply)
Discussion started by: b888c