10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
In my shell script, I extract table data from HP Vertica DB into a csv file using vsql -c command. But the problem is the file getting created is in binary format and hence some of the data becomes unreadable which has chinese characters as part of data.
file -i filename.csv - gives... (2 Replies)
Discussion started by: Dharmatheja
2 Replies
2. Shell Programming and Scripting
Dear Team,
Can any one please let me know, if there is any way to create pdf of a Jpg image file in shell script.
I work on Solaris, Korn Shell.
Currently we are using sunpcl2pdf.exe to create PDF from PCL(Printer Control Language) files.
But we are searching for some different way to... (2 Replies)
Discussion started by: Uttam Maji
2 Replies
3. Shell Programming and Scripting
Hi -
The below code works perfectly for e-mailing HTML embeded with JPG picture
sendmail -t <<EOT
TO: ABC.TO@abc.com
FROM: ABC.FROM@abc.com
SUBJECT: Embed image test
MIME-Version: 1.0
Content-Type: multipart/related;boundary="XYZ"
--XYZ
Content-Type: text/html; charset=ISO-8859-15... (5 Replies)
Discussion started by: sivakumar121
5 Replies
4. Shell Programming and Scripting
Hi Team,
Here's the requirement.
I have a image file in jpg format in unix.
Now I need to
i. convert the jpg format to binary format
ii. followed by loading the binary file to Oracle db.
Can anyone help me out?
Thanks
Krishnakanth Manivannan (4 Replies)
Discussion started by: kmanivan82
4 Replies
5. Shell Programming and Scripting
needed touch command to create a file in the following format
touch a_yyyymmdd_hhmmss (1 Reply)
Discussion started by: hemanthsaikumar
1 Replies
6. Shell Programming and Scripting
Hello. My latest project has me with the need for the following script. Basically, any directory that includes a .jpg file needs to also have a ".picture" file created (if it doesn't exist). Here's an example of what I need.
/mnt/user/Pictures/2011/Hawaii - 2011/.picture... (11 Replies)
Discussion started by: Davinator
11 Replies
7. UNIX for Advanced & Expert Users
I want to create the format file for bcp in a file to the table.
My Versions are:
Unix: Sun OS,
DB: Sybase.
How can i create the format file.
Is there any way to create the format by bcp command
or some system sp.
Please help. (3 Replies)
Discussion started by: Arunprasad
3 Replies
8. Shell Programming and Scripting
Dear Unix champs,
I have a input file as attached, i would like to create an report from the file as below
FileType | EQUENS0001 | EQUENS0002 | EQUENS1100 | EQUENS0003
--------+--------------------------------------------------------
Msg No |... (3 Replies)
Discussion started by: manas_ranjan
3 Replies
9. Shell Programming and Scripting
This data comes form the table and exported into the file in this format
File1 Format
weboffercode1,sourcecode1,1,1,1,1,1,1
weboffercode1,sourcecode2,1,1,1,1,1,1
weboffercode1,sourcecode1,1,1,1,1,1,1
weboffercode1,sourcecode3,1,1,1,1,1,1
weboffercode1,sourcecode3,1,1,1,1,1,1
... (4 Replies)
Discussion started by: enigma_83
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Do you know given a file which is SED at the same time, how to read it and AWK it in tabs format.
Means:-
I have an input file which is (at the same time perform sed):-
1
2
3
4
5
6
7
I would like to print out in tab format which is:-
1 2 3 4 5 6 7 .... (12 Replies)
Discussion started by: ahjiefreak
12 Replies