10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Gurus,
I am writing one script at linux.
The logic is
There is a find command which will find some specific files daily and store at a variable
Then echo that variable .
Now when I am trying to read the variable by using for loop it is throwing error as below:cat: CKDT.dat: No such... (5 Replies)
Discussion started by: pokhraj_d
5 Replies
2. Shell Programming and Scripting
Hi All
I have two shell scripts where the second is getting invoked from the first. E.g.
test1.sh and test2.sh Within test1, the code is something like this:
#!/bin/bash
. test2.sh
usage() {
echo "..."
echo "....."
}
SRC=$1
DEST=$2
case "$3" in
tran) doTran ;;
*)... (7 Replies)
Discussion started by: swasid
7 Replies
3. Shell Programming and Scripting
Hi all,
I have below code
sqlplus -s ext/exo@TIS << EOF
whenever sqlerror exit failure rollback;
set echo off
set head off
set serveroutput on
set termout on
set trimspool on
SPOOL $SPOOL_FILE
select 'ROWS '|| ' '||decode((count(Part_no)),0,'With greater values not... (3 Replies)
Discussion started by: Kiransagar
3 Replies
4. Shell Programming and Scripting
Dear all,
I would like to count the no;of word "INFORMATION" in a file called alt.lst and output to a unix variable INFORMATION.so to do this I wrote the below code
INFORMATION=echo 'INFORMATION' | tr -cs 'A-Za-z' '\n' < /app/tisq005/01/home/tisq005b/scripts/alt.lst | grep -c "INFORMATION"... (2 Replies)
Discussion started by: Kiransagar
2 Replies
5. Shell Programming and Scripting
All ,
I am trying to install POCO lib on Solaris server.
When I do make -s,I am getting the following error.
make: Fatal error in reader: Makefile, line 10: Unexpected end of line seen
Few of the content:
#
# Makefile
#
# The global Makefile for POCO
#
#sinclude config.make
... (0 Replies)
Discussion started by: prasperl
0 Replies
6. UNIX for Advanced & Expert Users
Hi, but it is possible to effect a sftp in???
thanks thousand
Germanico
---------- Post updated at 07:01 AM ---------- Previous update was at 05:51 AM ----------
Hi, but it is possible to effect a sftp in nohup mode??? (2 Replies)
Discussion started by: GERMANICO
2 Replies
7. Shell Programming and Scripting
Hi Guys,
I am trying a simple for loop which is throwing an error.
Below is my code:
#/bin/sh
set -A array "are" "you" "there";
for ( i = 0 ; i < ${#array} ; i++ )
do
echo ${array}
done
I am getting this error
tci001wasd02 $ sh -vx array_for.sh
#/bin/sh
set -A array "are"... (6 Replies)
Discussion started by: mac4rfree
6 Replies
8. Programming
I have a function for daemonize() and then I call this to my main(). Here below is my main...
int main(int argc, char **argv)
{
daemonize();
try{
............
if(fail()) throw Exception(...)
.........
}
catch (const Exception& e) {
cout<< (e.toString());
return -1
}
here if... (4 Replies)
Discussion started by: SamRoj
4 Replies
9. Shell Programming and Scripting
Hi,
get -ek s.Communicator.java The difference between the current date and the creation date of
the newest delta in the SCCS file is greater than 1 year.
Make sure that the system date is set correctly.
This message is only a warning. (co11)
14.3
... (0 Replies)
Discussion started by: Shivaprasad BS
0 Replies
10. AIX
lsof64 throws a memory fault because of the large number of connections on the box, is there a way around it? (1 Reply)
Discussion started by: designflaw
1 Replies