09-16-2006
We need to know what database - and I assume it means from a shell script
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have 20000 numbers present in a file in each line like
25663,
65465,
74579,
56446,
..
..
I have created a table in db with single number column in it.
create table testhari (no number(9));
I want to insert all these numbers into that table. how can i do it?
can anybody please... (4 Replies)
Discussion started by: Hara
4 Replies
2. Shell Programming and Scripting
Hi,
I want to calculate the number of pipe delimiters in a file for all lines seperately.
For eg:i have a file Project.txt
Mohit|chawla|123|678
File1|File2|345|767|678
And my file contains many lines like this
it shd give me the output as
4
5
or give me the output for all the... (0 Replies)
Discussion started by: Mohit623
0 Replies
3. Shell Programming and Scripting
Cant understand the error
#!/bin/bash
temp=""
A=""
D=$(date +"%Y-%m-%d")
H=$(date +"%R")
temp=$(wget -q -O - website | grep -o "Temperature:]**" | grep \-E -o "+")
mysql -D "weather_wise" -e "INSERT INTO weather (Date, Hour, Degrees) VALUES ($D,$H, $temp)";
my data types for... (11 Replies)
Discussion started by: vadharah
11 Replies
4. Shell Programming and Scripting
Hi,
I want to insert data into a table from a flat file, the file is having around 25 columns and some 10,000 records.
The columns values are seperated by a space.
Thanks (1 Reply)
Discussion started by: ss_ss
1 Replies
5. Shell Programming and Scripting
Hi
I am having three oracle databases running in three different machine. their ip address is different. from one of the DB am able to access both the databases.(means am able to select values and insert values in to tables individually.)
I need to fetch some data from DB1 table(say DB1 ip is... (2 Replies)
Discussion started by: aemunathan
2 Replies
6. Shell Programming and Scripting
Hi,
input file
CCCC 1204 215764.85 9405410.40 1189
DDDD 4498 1503 4617 1507 4723 1517 4829 1528 4996 1540
DDDD 5199 1556 5278 1567 5529 1603 5674 1614 6076 1915
DDDD 6605 2371 7004 2779
CCCC ... (4 Replies)
Discussion started by: Indra2011
4 Replies
7. Shell Programming and Scripting
i want to run update query for oracle which is in up.sql taking values from a.csv.
I have implemented shell script to do it.
extn="perl"
ls -1 | while read file
do
echo "$file,$extn" > a.csv
done
up.sql contains
update file_list set filename=$1 where extn=$2;
The code to update is... (2 Replies)
Discussion started by: millan
2 Replies
8. Shell Programming and Scripting
I have a file like this,
1,a,saurav
2,b,rout
I want to show this file in a perl cgi page table and want to add a column which will contain a text box. There I will give some manual input, which will be written to the existing file(or a new file) in below format.
1|a|saurav|bangalore... (2 Replies)
Discussion started by: sauravrout
2 Replies
9. Shell Programming and Scripting
Hi,
I want to replace a chain of if-else statement in an old AWK file with values from Db2 table or CSV file. The part of code is below...
if (start_new_rec=="true"){
exclude_user="false";
user=toupper($6);
match(user, "XXXXX.");
if (RSTART ==2 ) {
... (9 Replies)
Discussion started by: asandy1234
9 Replies
10. Shell Programming and Scripting
Hi all,
I am reading control file log from my server and putting it to a variable
for j in $(cat $dirname/ctl_file.log)
do
if
then
Y=${#fileclob_ctl_file}
if
then
fileclob_ctl_file=$j
else
fileclob_ctl_file="${fileclob_ctl_file},${j}"
fi
fi
... (5 Replies)
Discussion started by: Pratiksha Mehra
5 Replies
LEARN ABOUT DEBIAN
manipulators
FBB::Manipulators(3bobcat) Manipulators FBB::Manipulators(3bobcat)
NAME
FBB::Manipulators - Manipulators defined in the FBB namespace
DESCRIPTION
Various manipulators are defined within the FBB namespace. This manual page provides an overview of the manipulators that are currently
defined in the FBB namespace.
MANIPULATORS
o FBB::center:
defined in bobcat/align This manipulator can be specified when constructing an FBB::Align object to indicate that a table column
should center its contents.
o FBB::decindent:
defined in bobcat/indent This manipulator reduces the indentation level.
o FBB::def:
defined in bobcat/table This manipulator `completes' a Table object to a full rectangular object. It can be inserted into a Table
object.
o FBB::err:
defined in bobcat/msg Generates an error message.
o FBB::fatal:
defined in bobcat/msg Generates a fatal message, followed by an Errno(1) exception.
o FBB::fs:
defined in bobcat/tablebuf Starts the definition of the next element in a table.
o FBB::info:
defined in bobcat/msg Generates an informational message.
o FBB::incindent:
defined in bobcat/indent This manipulator will increment the indentation level.
o FBB::indent:
defined in bobcat/indent This manipulator inserts the currently defined number of indentation blanks into an ostream.
o FBB::indentdec:
defined in bobcat/indent This manipulator will insert, then reduce the indentation level.
o FBB::indentinc:
defined in bobcat/indent This manipulator will insert, then increment the indentation level.
o FBB::lm:
defined in bobcat/ofoldstreambuf This manipulator sets the left margin of FBB::OFoldStream objects.
o FBB::mlm:
defined in bobcat/ofoldstreambuf This manipulator modifies (alters) the left margin of FBB::OFoldStream objects.
o FBB::nlindent:
defined in bobcat/indent This manipulator will insert a newline, then indent.
o FBB::rs:
defined in bobcat/tablebuf Starts the definition of the next row in a table.
o FBB::spool:
defined in bobcat/msg Generates a (partial) informational message.
o FBB::warning:
defined in bobcat/msg Generates a warning message.
SEE ALSO
bobcat(7), columnwidth(3bobcat), equalwidth(3bobcat), errno(3bobcat), indent(3bobcat), lm(3bobcat), mlm(3bobcat), msg(3bobcat), table(3bob-
cat)
BUGS
None Reported.
DISTRIBUTION FILES
o bobcat_3.01.00-x.dsc: detached signature;
o bobcat_3.01.00-x.tar.gz: source archive;
o bobcat_3.01.00-x_i386.changes: change log;
o libbobcat1_3.01.00-x_*.deb: debian package holding the libraries;
o libbobcat1-dev_3.01.00-x_*.deb: debian package holding the libraries, headers and manual pages;
o http://sourceforge.net/projects/bobcat: public archive location;
BOBCAT
Bobcat is an acronym of `Brokken's Own Base Classes And Templates'.
COPYRIGHT
This is free software, distributed under the terms of the GNU General Public License (GPL).
AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl).
libbobcat1-dev_3.01.00-x.tar.gz 2005-2012 FBB::Manipulators(3bobcat)