Search Results

Search: Posts Made By: cvsanthosh
Forum: SuSE 01-01-2013
9,505
Posted By cvsanthosh
Connect to SQL server from Linux
I am trying to establish connection with SQL server 2008 through ODBC on Linux. First step would be

1. How to verify if ODBC driver for SQL server is installed on Linux OS.


PLease let me...
900
Posted By cvsanthosh
issue with pattern matching
i have 2 strings with values below which are read from a file

1 ---> end
2 ---> string(1)newline="\n";

which need to be compared inside an if block as below
if [ ${LAST_1_LINE} == "end"...
2,579
Posted By cvsanthosh
Nested case inside awk
please let me know if the below code could be written efficiently inside single awk
case "$INP" in
ksh)
cat catalog | awk 'BEGIN {FS=",";} { print $2 } END {}'
;;
pset)
cat catalog | awk...
3,056
Posted By cvsanthosh
I have the list of files to be processed in...
I have the list of files to be processed in another input file. Now with in the for/while loop i need to restrict my processing only for the files present in input file.

let me know how to...
3,056
Posted By cvsanthosh
Recursively *.ext files using find
HI,

Getting the syntax error " find: missing conjunction" for the below code

D1_DIR=/x/y/z
D1_NAME=file_name
FILE_DIR=pset
for file in `find ${D1_DIR}/${D1_NAME} -name "*\.${FILE_DIR}"...
13,680
Posted By cvsanthosh
Guru, Thanks a ton for the reply.
Guru,

Thanks a ton for the reply.
13,680
Posted By cvsanthosh
Guru, Still getting the same error.
Guru,

Still getting the same error.
8,183
Posted By cvsanthosh
thanks and it works
thanks and it works
13,680
Posted By cvsanthosh
FTP in batch mode
HI,

Need to ftp a bunch of files in a directory in batch mode. TRying to ftp a single file first with below code.

#!/bin/ksh
function ftp_files
{
ftp -n ${D2_SRVR} <<-EOF
quote user...
8,183
Posted By cvsanthosh
Variable inside sed
Problem: Need to read contents from a file and use that value inside sed as avariable. sample code below. THe below code replaces contents inside file123 for matched string with "$x" value only. but...
10,848
Posted By cvsanthosh
Call function inside CASE
i have a case statement which branches to different sections based on an input. Each branch needs to call a function. below is the code. FOr some reason, the code inside the function is not getting...
2,012
Posted By cvsanthosh
Thanks for your reply. We need to change from...
Thanks for your reply. We need to change from BASH to KSH with in the same script. Reason being some of the environment related settings are done using BASH.
2,012
Posted By cvsanthosh
BASH to KSH
I have a script in KSH and now need to incorporate this into another script which is in BASH. OUr script contains code like below in good number of places.

Eg: echo “A B C” | read VAR1 VAR2 VAR3...
Showing results 1 to 13 of 13

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