10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to extract a XML file which is stored in the database having a data Type as "LONG" via UNIX Scripting.
But when i am triggering the SQL via UNIX it is fetching only the first Line and not the complete XML.
Can you please suggest if the parameters that i have used needs any... (2 Replies)
Discussion started by: Barbara1234
2 Replies
2. Shell Programming and Scripting
The below bash is a file validation check executed that will verify the correct header count of 10 and the correct data type in each field of the tab-delimited file. The key has the data type of each field in it. My real data has 58 headers in it but only the header and next row need to be... (6 Replies)
Discussion started by: cmccabe
6 Replies
3. Programming
Hi, I am complete new to C programming and shell scripting. I just wrote a simple C code to calculate integral using trapezoid rule. I am prompting user to pass me No. of equally spaced points , N , upper and lower limit. My code looks as follows so far:
#include<stdio.h>
#include<string.h>... (2 Replies)
Discussion started by: bjhjh
2 Replies
4. Shell Programming and Scripting
Input=D123,S1234,D345 | kESTREL PRODUCTION SUPPORT
echo -en "Enter the logmsg="
read logmsg
logmsg1=${logmsg%%|*};
echo "$logmsg1"|tr ',' '\n' | sed 's/*$ | sed '/^$/d'//'>pre-commit.config
Char()
{
while read line
do
if ] || ];then
echo "Success"
else
exit 1;... (1 Reply)
Discussion started by: rohit22hamirpur
1 Replies
5. Shell Programming and Scripting
Hi,
I want to extract a XML file which is stored in the database having a data Type as "LONG" via UNIX Scripting.
But when i am triggering the SQL via UNIX it is fetching only the first Line and not the complete XML.
Can you please suggest if the parameters that i have used needs any... (0 Replies)
Discussion started by: dear_abhi2007
0 Replies
6. UNIX for Dummies Questions & Answers
I re-post my question to seek your help and critique. I was required to verify a very large and tab-delimited file, named 'MyFile'.
1. The each line in 'MyFile' has 7 columns, and that the values in the 5th column are integers. I need to use shell functions (and standard LINUX/UNIX filters) to... (1 Reply)
Discussion started by: duke0001
1 Replies
7. Shell Programming and Scripting
I am seeking help on one UNIX function writting. Please help.
I have a large file, named 'MyFile', It was tab-delmited. I am told that each line in 'MyFile' has 7 columns, and that the values in the 5th column are integers. How do I use shell functions (and standard LINUX/UNIX filters) to verify... (1 Reply)
Discussion started by: duke0001
1 Replies
8. Shell Programming and Scripting
I am writing a unix shell script that will extract records from table and write into a file.
======================================
#! /bin/ksh
############################
# AFI Monitor Script
############################
. /db2/uszlad48/sqllib/db2profile
export... (5 Replies)
Discussion started by: kmanivan82
5 Replies
9. Shell Programming and Scripting
I have created simple shell script
#!/bin/sh
echo `date`; echo "Start ....
find . -mtime +95 -print > /tmp/files.txt
for file in `cat /tmp/files.txt`
do
echo "copying file - $file"
/usr/local/bin/scp -p -P 2222 $file remote.hostname:/file/path
echo "copid file -... (3 Replies)
Discussion started by: ynilesh
3 Replies
10. Programming
Hi all,
Can anyone tell me a little about the datatype FILE, which represents stream. What does its structure look like, and in which header file is it defined and so on...
Ex :
FILE *fp ;
fp = fopen("filename", "w") ; (6 Replies)
Discussion started by: milhan
6 Replies