Hi,
I am new to perl
I need to connect from linux server to oracle database and i need to query the database and take result into csv file.
i try to do but i am getting this error:
#!/usr/bin/perl
use DBI;
BEGIN {
$ENV{ORACLE_HOME} = '/home/oracle/product/8.1.7';
... (1 Reply)
i have a file which gets appended with 9 records daily and the file keeps growing from then...i use to store the previous day files count in a variable called oldfilecount and current files count as newfilecount.my requirement is that i need to start processing only the new records from the... (3 Replies)
half of the problem is already solved with the help of bartus11 suggestion
I have a txt file having rows and coulmns, i want to perform some operation on a specific coulmn starting from a specific line.
50.000000 1 1 1
1000.00000
1000.00000
... (5 Replies)
Hi All,
I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file.
Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Hi I have a file that contains lines starting with a particular string plus a Colon: I need to output all these lines but only what comes after the colon
Can you pelase assist?
Example of lines in the file:
com.ubs.f35.cashequities/cashequities: 1 2
... (5 Replies)
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Hi all,
In my SunOS 5.10, the command awk using BEGIN option doesn't print output variables like expected
here is my test:
with the following code everything is alright
ps -eo pcpu,args | grep "httpd" | awk ' { print $1 } '
the result is
0.1
However, with this command
ps -eo... (3 Replies)
# more minusf.awk
#!/bin/awk -f
BEGIN {
FS=":";
}
{
if ( $2 == "" ) {
print $1 ": no password!";
}
}
# ./minusf.awk aa aa aa aa
awk: can't open aa (6 Replies)
I am using UNIX to create a script on our system. I have setup my commands to append their output to an outage file. However, some of the commands return no output and so I would like something to take their place.
What I need
The following command is placed at the prompt:
TICLI... (4 Replies)
Discussion started by: jbrass
4 Replies
LEARN ABOUT DEBIAN
racc
racc(1) General Commands Manual racc(1)NAME
racc - Ruby LALR parser generator
SYNOPSIS
racc [options] file
DESCRIPTION
Racc is a LALR(1) parser generator. It is written in Ruby itself, and generates Ruby program.
OPTIONS -g, --debug
output parser for user level debugging.
-o, --output-file <outfile>
file name of output. [<fname>.tab.rb]
-e, --executable <rubypath>
insert #! line in output. ('ruby' to default)
-E, --embedded
output file which don't need runtime.
-l, --no-line-convert
never convert line numbers. (for ruby<=1.4.3)
-c, --line-convert-all
convert line numbers also header and footer.
-a, --no-omit-actions
never omit actions.
-v, --verbose
create <filename>.output file.
-O, --log-file <fname>
file name of verbose output. [<fname>.output]
-C, --check-only
syntax check only.
-S, --output-status
output status time to time.
--no-extentions
run without any ruby extentions.
-h, --help
print this message and quit.
--version
print version and quit.
--runtime-version
print runtime version and quit.
--copyright
print copyright and quit.
SEE ALSO
/usr/share/doc/racc/html.en/index.html (English) or /usr/share/doc/racc/html.ja/index.html (Japanese).
April 2005 racc(1)