Hi,
Actually I have a file which consists data . for eg names.
Then I want my sql query to read this file and produce the output.
Currently I am using this
FOR EG : FILENAME is NAMES
for i in `cat NAMES`
{
sqlplus -s $CONNECTID << EOF
spool rooh
set heading off
select... (1 Reply)
I am having a problem with awk when I run it with a loop. It works perfectly when I echo a single line from the commandline. For example:
echo 'MFG009 9153852832' | awk '$2 ~ /^0-9]$/{print $2}'
The Awk command above will print field 2 if field 2 matches 10 digits, but when I run the loop... (5 Replies)
Hi all
I have tried to search for this, but keep getting a MySQL db connect error, so am posing the question here, and taking a risk of incurring the wrath of the mods with my first post...
I have the following test script:
#!/bin/bash
HTTPD=`/bin/ps -axcu | /usr/bin/grep httpd... (6 Replies)
I run into a issue when I try to do sorting of the following with ascending order, one round of for looping seems not working, anyone knows how to use shell or perl?
$array = (5,0,3,2,7,9,8) (2 Replies)
Hi all,
I have a directory which has many sub-directories. Now, I want to check the space of each dir and redirect the output in a file if space exceeds the limit.
I have already done it, but the way I did is not very good. I just listed the directories and awked the last column to get the... (5 Replies)
Hi friends,
I'm newbie to SVM.
Just wanna try installed it on one of our server (to do mirroring for disk0 and disk1) but i think im lost until now. :(
the steps i've taken is as below:-
1.prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2
2.metadb -a -c 3 -f c1t0d0s7... (3 Replies)
Hi i just want to open 2 files and find difference between cond1 and cond2 and if the difference is greater than or equal to some number say 2 print the lines again in 2 different files.
file 1 (1.txt)
aqw dfr 34
poilo ggg 98
file 2 (2.txt)
qww asd 28
poilo ggg 97 open FILE1,"1.txt" or... (2 Replies)
Hi, guys,
What I want is exactly shown below (I modified the former image and it looks like clearer.)
https://lh6.googleusercontent.com/-EG8SKkrWEvc/Ube9e-jDiHI/AAAAAAAAAOM/hFNT0UqQPWE/s512/Linux_Study_20130611_001.jpg
And with some guys' help, I made it. My script is below:
#!/bin/bash
#... (20 Replies)
I need help. I am trying to get this script to send out only one email not multiple emails of the abend. Currently it will send me one then and ther with the first and second one then another email with the first second and third abend and so on. I only want one email sent.
... (2 Replies)
Discussion started by: bbcarosi
2 Replies
LEARN ABOUT DEBIAN
obus-gen-interface
OBUS-GEN-INTERFACE(1) General Commands Manual OBUS-GEN-INTERFACE(1)NAME
obus-gen-interface - convert D-Bus introspection files to ocaml code
SYNOPSIS
obus-gen-interface [ options ] input-file
DESCRIPTION
obus-gen-interface generates an OCaml module from a D-Bus introspection file. The generated module contains methods, signals and properties
definitions. It is required for by both client-side and server-side code.
Note that the files generated by obus-gen-interface are not meant to be edited.
OPTIONS -o output-prefix
Use this name as output prefix. It defaults to the input file name without its extension and extended with "_interfaces". For exam-
ple, if the input file name is "foo.xml" (or "foo.obus"), then "obus-gen-interface" will generate "foo_interfaces.ml" and
"foo_interfaces.mli".
-keep-common
Keeps common interfaces, i.e. all interfaces starting with "org.freedesktop.DBus". By default they are dropped.
-mode {both|client|server}
Set the code generation mode. It defaults to "both". In "client" mode, only code for client-side use is generated. In "server" mode,
only code for server-side use is generated. In "both" mode, code for client-side and server-side use is generated.
-help or --help
Display a short usage summary and exit.
AUTHOR
Jeremie Dimino <jeremie@dimino.org>
SEE ALSO obus-introspect(1), obus-gen-client(1), obus-gen-server(1).
April 2010 OBUS-GEN-INTERFACE(1)