03-11-2002
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi evrybody!!!!
I have a problem with this shell script
INICIO=$(sqlplus -s user/user@db1 << END | awk '{printf $1}'
set head off
set feed off
select to_char(min(create_dt) , 'HH24') from table_name where trunc(create_dt)=trunc(sysdate-2);
END)
I want to recover, in INICIO, the min... (4 Replies)
Discussion started by: josecollantes
4 Replies
2. Shell Programming and Scripting
Hi,
Can you please let me know if there's any debug command for perl scripts
like
set -x for shell scripts (2 Replies)
Discussion started by: dayanandra
2 Replies
3. Shell Programming and Scripting
HI,
I have 2 scripts main.sh and sub.sh, I want to invoke both these scripts in 1 unix command..
Something like... csh -f main.sh(sub.sh TIBCO)
sub.sh returns a value as .., by taking this value main.sh prints a text.
Can anyone help me to build this command
Below are the scripts
////sub.sh... (3 Replies)
Discussion started by: bce_groups
3 Replies
4. Shell Programming and Scripting
I have written a few shellscripts to run a videogame (starcraft) at different patched versions. For example bw113 runs the 1.13 version of the game.
These works perfectly when I run them from command line (./bw113). However I cannot get it to work via mouseclick.
Some Information:
- I have... (5 Replies)
Discussion started by: lordsloth
5 Replies
5. Shell Programming and Scripting
Is there any command or VARIABLE in unix to display only bash builtin commands?. Some days back I worked on that, but now I do not remember.
Can anyone please reply for this?... (4 Replies)
Discussion started by: gwgreen1
4 Replies
6. Shell Programming and Scripting
I want to write 2 scripts that:
script named "users" - List of users logged into the system;
script named "ps" - List of all processes in the operating system;
# is it true?
#!bin/bash
echo 'content-type: text/html'
echo
users # for script named users
#!bin/bash
echo 'content-type:... (15 Replies)
Discussion started by: numeracy
15 Replies
7. Shell Programming and Scripting
Hi All,
I have two scripts which i want to run in a single command line(or in a single script). And if both the scripts in the main script fail then i want to pass a value to a Application specific utility which will trigger some alert.The value can be anything. Somebody please help.It is... (1 Reply)
Discussion started by: shroh
1 Replies
8. Shell Programming and Scripting
Hi All,
Actually we want to know the command need to use if the difference between two files are null, then it should not send as mail. Oterwise it should send as mail alert.
Below for your reference,
# Email the spoolfile.
diff free_sp_new.log free_sp_old.log
if output of above... (1 Reply)
Discussion started by: thanvir.akram
1 Replies
9. Shell Programming and Scripting
I am working with a sh script on a solaris 9 zone (sol 10 host) that grabs information to build the configuration command line. the variables Build64, SSLopt, CONFIGopt, and CC are populated in the script. the script includes
CC=`which gcc`
CONFIGopt=' --prefix=/ --exec-prefix=/usr... (8 Replies)
Discussion started by: oly_r
8 Replies
10. UNIX for Dummies Questions & Answers
Hi Friend,
what is the equivalent command for batch scripting of tail -1.
for example : i have a.txt file with below the contents. i need to print last line
---------------------------------
Use descriptive thread titles when posting. For example, do not post questions with subjects like... (3 Replies)
Discussion started by: Jewel
3 Replies
LEARN ABOUT HPUX
dh_installemacsen
DH_INSTALLEMACSEN(1) Debhelper DH_INSTALLEMACSEN(1)
NAME
dh_installemacsen - register an Emacs add on package
SYNOPSIS
dh_installemacsen [debhelperoptions] [-n] [--priority=n] [--flavor=foo]
DESCRIPTION
dh_installemacsen is a debhelper program that is responsible for installing files used by the Debian emacsen-common package into package
build directories.
It also automatically generates the preinst postinst and prerm commands needed to register a package as an Emacs add on package. The
commands are added to the maintainer scripts by dh_installdeb. See dh_installdeb(1) for an explanation of how this works.
FILES
debian/package.emacsen-compat
Installed into usr/lib/emacsen-common/packages/compat/package in the package build directory.
debian/package.emacsen-install
Installed into usr/lib/emacsen-common/packages/install/package in the package build directory.
debian/package.emacsen-remove
Installed into usr/lib/emacsen-common/packages/remove/package in the package build directory.
debian/package.emacsen-startup
Installed into etc/emacs/site-start.d/50package.el in the package build directory. Use --priority to use a different priority than 50.
OPTIONS
-n, --no-scripts
Do not modify postinst/prerm scripts.
--priority=n
Sets the priority number of a site-start.d file. Default is 50.
--flavor=foo
Sets the flavor a site-start.d file will be installed in. Default is emacs, alternatives include xemacs and emacs20.
NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple
instances of the same text to be added to maintainer scripts.
SEE ALSO
debhelper(7) "usr/share/doc/emacsen-common/debian-emacs-policy.gz"
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLEMACSEN(1)