Search Results

Search: Posts Made By: spidy
7,153
Posted By spidy
Thanks for the answers!! But i am having...
Thanks for the answers!!

But i am having problem with the first column, my file looks like below example.

"G|||ABCD|||1234"|"ABC"|123.05|"xyz"

except first column i have to apply the above...
7,153
Posted By spidy
Need shell script to append double quotes for each column in a file
Hi Experts,

I am beginner to the shell scripting, My requirement is to append double quotes for each column in a file if double quotes does not exist.


Example:

"abc"|123|"gh-ch"|23.067
...
1,861
Posted By spidy
Thanks RudiC!! I have stripped the leading...
Thanks RudiC!!

I have stripped the leading delimiters and now the script is working fine. Thanks for your suggestion.
1,861
Posted By spidy
Thanks RudiC!! I have modified the script...
Thanks RudiC!!
I have modified the script little bit, now its failing in the DB connection part.I am able to connect to the DB through UNIX when i run the only DB script part(in another script) but...
1,861
Posted By spidy
Thanks Robin!! I was also expecting the same...
Thanks Robin!!

I was also expecting the same out put as you quoted, but i have posted the whole output. Tht's where i was also confused. Could you please correct the script for others.
1,861
Posted By spidy
Execution problems to call the DB table through UNIX
Hi All,

I am beginner to the Unix scripting, i am writing a script to call the DB through Unix script. I have to read the files from the given path and in each file the first column i have to pick...
5,129
Posted By spidy
How to check the file locked or in use at FTP?
Hi Experts,

I am beginner to shell scripting, I have a archive script which will connect to the FTP server and archive the files from FTP source location to FTP archive location.

Now the...
2,877
Posted By spidy
FTP commands to check the file status
Hi Experts,

Can some one let me know the FTP commands to check the file status i.e i want to check whether my files are locked or in open status.

I am connecting FTP from local machine.
...
1,323
Posted By spidy
Still facing the error in ftp archive script
Try moving the cd $FTP_SRC_PATH line after the
quote lines in the ftp script.

I am still facing the same error.Can someone help me here

Output Error:
+ FTP_SRC_PATH=/Product/Asset/Source
+...
1,323
Posted By spidy
Need help in FTP script to archive
Hi Guys,

I am unable to archive the FTP files from FTP source path to FTP archive path.Currently i am running this script from the Local server. Can someone help me here.
Code:
#!/bin/ksh
set...
1,323
Posted By spidy
Extraction of header columns and comparing it with Header_format
Thanks Corona688 it's working :)..And thanks for your suggestions i will follow those!!
1,323
Posted By spidy
Extraction of header columns and comparing it with Header_format
set -x
for file in /Src/MEDIA_ASSET/*.csv;
do
Header_Format = 'VariantNumber|ERP_SYSTEM_CD|MediaType'
FILESTATUS = GOOD
File_Header = $(cut -d'|' -f1-3 ${file}|head -1)
do
if...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 03:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy