10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
just wanted to export multiple tables from oracle sql using unix shell script to csv file and the below code is exporting only the first table.
Can you please suggest why? or any better idea?
Export= `sqlplus -s dev01/password@dEV3... (16 Replies)
Discussion started by: Hope
2. Shell Programming and Scripting
We have the data looks like below in a log file.
I want to generat files based on the string between two hash(#) symbol like below
#ext3#test11.tale21 drop... (5 Replies)
Discussion started by: Sanjeev G
3. Shell Programming and Scripting
i need to extract lines from multiple files to a csv file.
for example, i have these 3 files
called:8117485 (30 Replies)
Discussion started by: lp.descamps
4. Shell Programming and Scripting
I have a series of csv files in the following format
Tube Name, Control,
Record Date,7/28/2015 14:50,
Late... (6 Replies)
Discussion started by: pawannoel
5. UNIX for Dummies Questions & Answers
:confused:Hello -- i just joined the forums. I am a complete noob -- only about 1 week into learning how to program anything... and starting with linux.
I am working in Linux terminal.
I have a folder with a bunch of txt files. Each file has several lines of html code. I want to combine... (2 Replies)
Discussion started by: jetsetter
6. Shell Programming and Scripting
I'm new to shell scripting so I'm guessing I'm just not looking at this from the correct angle as this has to be a common task.
What I'm trying to do is take data I've compiled for servers (Name, IPs, HBA WWN's, Storage, etc) and trying to turn that into one row in a CSV file.
File1:... (3 Replies)
Discussion started by: The_Grim_Coder
7. Shell Programming and Scripting
I have a flat file (template) where I want to replace variables based upon a value in another file (csv).
The variables in the template are named %VAR_X_z%
The values are in the csv file and X is field 0 of each line and y field 1 and up.
Example of the csv:
Badidas, 13.00, 12.00, 11.00,... (8 Replies)
Discussion started by: biscayne
8. Shell Programming and Scripting
I need help for doing the following.
I have a input file like:
now I am trying to generate a output csv file where i will have for e.g.
0-3 chars of each line as the first column in the csv, 4-10 chars of the line as... (3 Replies)
Discussion started by: babom
9. Shell Programming and Scripting
I need to develop a shell script which does sanity check of a data file, as below.
1. For DATE columns, it should check if date is given in proper format or not? For example, if format of date is expected as DD-MON-YYYY HH24:MI:SS and we received the date in formation like DDMMYYYY HH24,... (1 Reply)
Discussion started by: ace_friends22
10. Shell Programming and Scripting
I am using a BASH script to read a CSV file (containing variable values)using while read, and for every record I want SED to get a template from a file, and using the variables read from the CSV, write a new file.
current_ifs=$IFS ; #backup original IFS, need ","... (12 Replies)
Discussion started by: ppucci