10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Would like to insert value between two empty delimiter and at the very last too if empty.
$ cat customerleft.tbl
300|Customer#000000300|I0fJfo60DRqQ|7|17-165-193-5964|8084.92|\N|p fluffily among the slyly express grouches. furiously express instruct||||||||||||||||||||||||\N... (3 Replies)
Discussion started by: Mannu2525
2. Shell Programming and Scripting
I have a file which has data like
And I need to insert a new column at the begining with sequence no( 1 to n)
Please let me know how to acheive this in unix (3 Replies)
Discussion started by: weknowd
3. UNIX for Dummies Questions & Answers
I have file like below
2|4|OR|OLAP|CLR|CLR||CONSTANT|2012/09/07|9999/12/31|0|0|0|0|PRL|-358.1684563||||||||||36522|57891|REGS|... (2 Replies)
Discussion started by: gkskumar
4. Shell Programming and Scripting
I am using below script to get the below given output. But i am wondering how to pick the names from below output.
echo "dis ql(*) cluster(CT.CL.RIBRSBT3)"| runmqsc CT.QM.701t8|egrep QUEUE|sed -e 's/QUEUE(/ /'|sed -e 's/)/ /'
... (10 Replies)
Discussion started by: darling
5. Shell Programming and Scripting
I am writing a Perl Script for the below :
I have a data file that consists of the header information which is 231 Lines and the footer information as 4 lines. The total number of line including the header and footer 1.2 Million with Pipe Delimited file.
Header Information:... (4 Replies)
Discussion started by: filter
6. Shell Programming and Scripting
I have a data file that I would like to add delimiters to.
I found this link but the only issue is I do not know how many colums I will have. The first field would needs to be 8... (9 Replies)
Discussion started by: oldman2
7. Shell Programming and Scripting
I'm looking for a command that replaces spaces/tabs with pipe symbol and store the result to the same file instead of routing it to another file.
Thanks. (11 Replies)
Discussion started by: dvah
8. UNIX for Advanced & Expert Users
Can somebody help me with solution for this PLEASE?
I have a flat file and need to insert delimiters at fixed positions in all the lines so that I can easily convert into EXCEL with columns defined as per their width.
Here is the file
sdtereetyw... (7 Replies)
Discussion started by: jd_mca
9. Shell Programming and Scripting
i need replace the slash (/) with a newline (\n) and a tab (\t).
With 'find -type f' in a folder i got this output:
./2000/06/file3... (8 Replies)
Discussion started by: Tonda
10. Shell Programming and Scripting
Can someone help me on this?
I'm creating an Insert stmt script but Oracle does not accept blanks values. How can I insert the word null between two commas? I'm guessing awk or sed.
Is there a good post or site with easy to understand info on awk and sed? I'm really new to unix scripts :D
... (5 Replies)
Discussion started by: ystee