Search Results

Search: Posts Made By: rkrish
2,488
Posted By rangarasan
perl
We can use these fetched values in integer expression and we don't have type cast and all in perl.

Cheers,
Ranga:)
2,488
Posted By rangarasan
perl
Hi,

Try this one,


open(FILE,"<","$xml_file_name");


while(<FILE>){
if($_ =~ m/accumId="(269|270)"/) {
my $accumId = $1;
my @inclUnits=split(/ /,$_);
my...
2,488
Posted By Yoda
Try this: awk -F=...
Try this:
awk -F= '/(accumId="269"|accumId="270")/ {
unit=$4; gsub(/(\"|inclUnitsUsed)/,"",unit);
used=$5; gsub(/(\"|shared)/,"",used);
shrd=$6; gsub(/(\"|pooled)/,"",shrd);
printf "%s %s...
1,251
Posted By elixir_sinari
sed 's/ .*//' file
sed 's/ .*//' file
1,251
Posted By itkamaraj
awk '{printf("%s,",$1)}' input.txt
awk '{printf("%s,",$1)}' input.txt
5,253
Posted By Chubler_XL
Do you have a .h file the defines a function...
Do you have a .h file the defines a function prototype and classes exported by the cpp file?

You will need to write another cpp file with a main() function that collects the command line...
1,876
Posted By mregine
Try $ sort -u abc.txt -o abc.txt
Try
$ sort -u abc.txt -o abc.txt
3,228
Posted By hergp
I am not so familiar with sqlplus, but shouldn't...
I am not so familiar with sqlplus, but shouldn't every single SQL command end with a terminator like ';'?


...
sqlplus -s /nolog |&
print -p "connect $db_user/$db_pwd@$db_sid;"
print -p "SPOOL...
3,151
Posted By jville
try this one a=`sqlplus -s...
try this one



a=`sqlplus -s $db_user/$db_pwd@$db_sid << EOF
set pagesize 0 feedback off verify off heading off echo off
select ACK_PARTY_NAME,bus_event_seq_nbr from bus_event where ...
3,151
Posted By ygemici
yes @jayan_jay,it also must work at @rkrish script
yes @jayan_jay,it also must work at @rkrish script
3,151
Posted By jayan_jay
Might be the below one will help you .. ...
Might be the below one will help you ..

a=`sqlplus -s $db_user/$db_pwd@$db_sid << EOF
select ACK_PARTY_NAME,bus_event_seq_nbr from bus_event where ack_party_name like 'MOVE_USAGE_DAEMON%' ...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 09:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy