7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need following code in linux bash:
Step 1:
run a command and create file1
run a command and create file2
compare file1 and 2
if any difference go to step 1 (keep trying 4 times, if no success, abort program)
else do nothing and continue program.
now I'm... (2 Replies)
Discussion started by: kashif.live
2 Replies
2. Programming
Hello people, I'm scratching my head to find a solution to this query.
I have a simple SQL table:
data | tot
==================
111201/0000 | 3
111201/0001 | 5
111201/0002 | 7
111201/0003 | 2
.....
111201/0059 | 1
111201/0100 | 5
111201/0101 | 8
111201/0102 | 6... (7 Replies)
Discussion started by: Lord Spectre
7 Replies
3. UNIX for Advanced & Expert Users
I have a scenario to implement in Korn shell script. Here it is..
I need to compare two values to see whether they are same or not. The issue is that the values coming in for comparison can be a string or an integer which can be determined during run time only.
Which korn shell comparison... (2 Replies)
Discussion started by: vani123
2 Replies
4. Shell Programming and Scripting
Hi,
I have an array of strings. Each string has 4 comma separated values. I am binding this array to a SQL where I am required to do an INSERT after grouping.
The binding is done as :
$insertADWSth->bind_param_array(1,A_CONSTANT_STRING);... (1 Reply)
Discussion started by: sinpeak
1 Replies
5. Shell Programming and Scripting
Still new to bash. Using debian lenny 5, bash version 3.2.39. I'm working on three scripts. I need help completing them.
One script that inputs a plain text file, echo then chop it up into separate whitespace-delimited strings as an output. Not sure how to do this...
for example, the... (4 Replies)
Discussion started by: l20N1N
4 Replies
6. Shell Programming and Scripting
Hi,
I need sample code to compare the two files line by line which contains text strings and to print the difference in the third file.
Thanks in advance (1 Reply)
Discussion started by: sudhakaryadav
1 Replies
7. Shell Programming and Scripting
Hi
STORAGE_TYPE=$1
echo "########### SQL SESSION STARTED ###########"
VALUE=`sqlplus -S /nolog << THEEND
connect tcupro/tcupro_dev@bdd1optn
SET SERVEROUTPUT ON
DECLARE
V_STORAGE_TYPE varchar2(3);
V_ERR_MSG varchar2(255) ;
V_LOG_LEVEL varchar2(200);
BEGIN... (1 Reply)
Discussion started by: piscean_n
1 Replies
MAKE-SQLDEVELOPER-PACKAGE(1) Oracle SQL Developer Debian package builder MAKE-SQLDEVELOPER-PACKAGE(1)
NAME
make-sqldeveloper-package - Oracle SQL Developer Debian package builder
SYNOPSIS
make-sqldeveloper-package [options] <file>
DESCRIPTION
make-sqldeveloper-package is a utility that builds a Debian package for Oracle SQL Developer.
The Oracle SQL Developer program is governed by the copyright holder (Oracle USA, Inc.), so you may be limited as to what you can do with
the resulting package (i.e. no redistribution, etc). This utility will simply help you create the Debian package, it is your responsibility
to use the resulting package acordingly with the OTN license, a copy of which is included in the created package, that you must agree on
when downloading the source.
This utility will require you to download the "Oracle SQL Developer for other platforms" archive from <http://www.oracle.com/technet-
work/developer-tools/sql-developer/> to create the Debian package from.
OPTIONS
-b|--build-dir <dir>
base directory to build package (autogenerated)
-e|--email <email>
local maintainer email (use DEBEMAIL or auto-generate)
-i|--install
install the generated package - needs root privilege (no)
-k|--keep-dir
keep the build directory (no)
-l|--revision <number>
local revision to append to package version (1)
-m|--maintainer <name>
local maintainer name (use DEBFULLNAME or leave empty)
-r|--root-command <command>
command to gain root privilege for package build (fakeroot)
-u|--upstream-version <version>
force the upstream version (autodetected)
-h|--help
display the help screen
-v|--version
show the program version
<file> the "Oracle SQL Developer for other platforms" archive from <http://www.oracle.com/technetwork/developer-tools/sql-developer/>
AUTHOR
make-sqldeveloper-package was written by Lazarus Long <lazarus.long@bigfoot.com>.
This manual page was written by Lazarus Long <lazarus.long@bigfoot.com>, for the Debian project (but may be used by others).
GNU
2012-11-13 MAKE-SQLDEVELOPER-PACKAGE(1)