06-21-2011
can i have any update on this post ? ..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
#!bin/ksh
sqlplus -s system/manager < |grep '^ORA' |uniq
select * from kk;
set echo on
show spool on
end;
/
EOF
save test.sh
sh test.sh
results
ORA-00942: table or view does not exist (3 Replies)
Discussion started by: xiamin
3 Replies
2. Shell Programming and Scripting
Hi,
I am working on Solaris 8 and the "intro" man page says, "Upon termination, each command returns two bytes of status, one supplied by the system and given the cause for termination, and (in the case of 'normal' termination) one supplied by the program. The former byte is 0 for normal... (2 Replies)
Discussion started by: cdin2
2 Replies
3. UNIX for Dummies Questions & Answers
I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Discussion started by: jkuchar747
3 Replies
4. Linux
Hi,
Recently I install a package and try to do a make and make install.
However, in the make it gives me below error:-
make:Nothing to be done for 'install-exec-am'
make:Nothing to be done for 'install-data-am'
Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
Discussion started by: ahjiefreak
1 Replies
5. Shell Programming and Scripting
This single line of code in a sh script file
top -b -n 1 -U $USER
causes the script to prematurely exit with an exit code of 1 (i.e. an error) if the script is run with the -e option (e.g. if
set -e
is executed near the top of the script file).
Alternatively, you can execute it like
top... (8 Replies)
Discussion started by: fabulous2
8 Replies
6. Solaris
I attached a README file that I will refer to.
I successfully completed everything in the README file until step 4.
# pwd
/gani/gani-2.4.4
# ls
COPYING Makefile.macros gem.c
Makefile Makefile.sparc_gcc gem.h
Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies
7. Shell Programming and Scripting
I need help in the following script. I want to grep the sql errors insert into the error table and exit the shell script if there is any error, otherwise keep running the scripts.
Here is my script
#!/bin/csh -f
source .orapass
set user = $USER
set pass = $PASS
cd /opt/data/scripts
echo... (2 Replies)
Discussion started by: allinshell99
2 Replies
8. Shell Programming and Scripting
Hi,
I am writing a menu driven program using shell script. THe script will be collecting data by logging into the other servers and bringing back the data to home server to process it and accordingly issue commands. TO automate commands execution , I am using expect script. However I am not able... (5 Replies)
Discussion started by: ashima jain
5 Replies
9. UNIX for Advanced & Expert Users
Hi Guys,
I am calling a SQL script which runs under while loop, i need to exit the while loop if i get error in sql script which is called
while
do
sqlplus -s user/pass@db @test.sql id$i
done
test.sql
whenever sqlerror exit;
alter table t1 add &1 number;
I need to come out of... (2 Replies)
Discussion started by: rohit_shinez
2 Replies
10. Shell Programming and Scripting
Hi All,
Good Day, seeking for your assistance on how to not perform my 2nd, 3rd,4th etc.. function if my 1st function is in else condition.
#Body
function1()
{
if
then
echo "exist"
else
echo "not exist"
}
#if not exist in function1 my all other function will not proceed.... (4 Replies)
Discussion started by: meister29
4 Replies
LEARN ABOUT DEBIAN
update-canna-dics_dir
update-canna-dics_dir(8) System Manager's Manual update-canna-dics_dir(8)
NAME
update-canna-dics_dir - compile dics.dir file
SYNOPSIS
DESCRIPTION
update-canna-dics_dir assembles a dics.dir file in the Canna dictionary using one or more alias files found in a subdirectory of
/etc/X11/fonts/. It is typically invoked only from the post-installation and post-removal scripts of a package containing fonts (that pro-
vide aliases for their names) for the X Window System, but may be invoked at any time to reconstruct fonts.alias files. For each direc-
tory, which is either an absolute path to an X font directory or (preferably) simply the last component of its path (such as "75dpi" or
"misc"), update-canna-dics_dir will assemble /usr/lib/X11/fonts/directory/fonts.alias from the files found in /etc/X11/fonts/direc-
tory/package.alias.
This enables multiple packages to provide aliases for fonts in the same directory. No font package actually provides the fonts.alias file
in the X font directory itself, so there is no danger of overwriting one package's aliases with those of another.
For instance, the two packages "xfonts-base" and "xfonts-cjk" may both install fonts into the directory /usr/lib/X11/fonts/misc. They each
place their fonts.alias files in /etc/X11/fonts/misc/xfonts-base.alias and /etc/X11/fonts/misc/xfonts-cjk.alias (respectively). update-
canna-dics_dir concatenates these two files (as well as any others that match /etc/X11/fonts/misc/*.alias) into
/usr/lib/X11/fonts/misc/fonts.alias.
The format for fonts.alias files is given in the mkfontdir(1) manual page.
An example of how to use update-canna-dics_dir in package maintainer scripts is provided in the Debian Policy Manual.
SEE ALSO
mkfontdir(1)
DIAGNOSTICS
update-canna-dics_dir exits with status 1 if its arguments are absent or invalid.
BUGS
See <http://bugs.debian.org/canna>. If you wish to report a bug in update-canna-dics_dir, please see /usr/share/doc/debian/bug-report-
ing.txt, the bug(1) command, or the reportbug(1) command.
AUTHOR
update-canna-dics_dir is written and copyrighted by ISHIKAWA Mutsumi. It is licensed under the GNU GPL, version 2.
Debian GNU/Linux 25 August 2001 update-canna-dics_dir(8)