what do u mean by " 'end of file' unexpected "?
i am running a script called "s1" which internally calls "s2"
now s1 starts running & at a point (where it is suppose to call "s2")
i get a message
'end of file' unexpected....
& my script(s) are not working..
any ideas on this?
regards... (4 Replies)
This is the script
path=/oracle/ora10gdb/sample
archive=/oracle/ora10gdb/archive
cd $path
for i in `ls`;do
mv $i $archive
Done
Please tell me why it is givind this error (2 Replies)
HI,
I was converting a .bat file to .sh file for unix
Code snippet
#!/usr/bin/sh
set -x
if then
goto RegularBuild;
CURDIR="$1";
cd "$CURDIR";
:RegularBuild
echo "Checking for existing fip_help.properties in def/properties directory..."
if then
rm -f fip_help.properties;
... (1 Reply)
hi,
i am trying to connect to sqlplus in an 'if block' from the script.
it is giving unexpected end of file error.
and it works fine if it is out of 'if block'.
if anybody have idea on this, can you please help me to solve the error ?
piece of code is given below.
if
then... (11 Replies)
I am getting a "line 47: syntax error: unexpected end of file", why? According to my estimate, line 47 is 2 lines after the last line of code here. Also, the $1 variable represents the current user logging in, and the script runs with root privileges (This is a Mac OS login hook script using... (5 Replies)
Hi,
On adding below code to my script shows the error on executing else script works fine.
sqlplus $user_name/$password <<EOL
truncate table order;
commit;
truncate table order_hist;
commit;
insert into order(ID,TRAN,CUST_NAME,OPT_VAL) select * from order_bkp;
insert into... (5 Replies)
Hi ,
I am new to Unix and this is my first shell script .
I am facing "unexpected end of file error" while executing my code . tried removing blank spaces Unable to trace out the error . PLease help !!!
#!/bin/sh
echo hello
if ]
echo hi
then
var=`cat liq_table_nm.txt`
... (6 Replies)
Hi guys,
I am new to BASH scripting and I was wondering if anyone could have a look at this code and explain to me why I am getting an Unexpected End of File Error ?
If you can that would be great / much appreciated! THANKS!
#!/bin/bash
USER=""
PASS=""
if ; then echo "You need to set... (1 Reply)
I dont know where I missed the double quotes .:wall:pls review this code and help me out .
m1: line 26: unexpected EOF while looking for matching `"'
m1: line 34: syntax error: unexpected end of file
echo "script is created by prabhu Kumar ";
echo "changing the directory to wes... (2 Replies)
Discussion started by: ptappeta
2 Replies
LEARN ABOUT SUNOS
libcspi.3
libcspi.3(3) Introduction to Library Functions libcspi.3(3)NAME
at-spi, libcspi - Assistive Technology Service Provider Interface, and AT-SPI C Bindings
DESCRIPTION
at-spi is the Assistive Technology Service Provider Interface, which provides a set of client-side APIs for use by assistive technologies.
Assistive Technologies are augmentative or adaptive technologies that make the desktop user interface accessible to persons with disabili-
ties.
These APIs for assistive technology developers are available in two forms.
at-spi is defined by CORBA IDL in the following files:
/usr/share/gnome/idl/at-spi-1.0/Accessibility.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Accessible.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Action.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Application.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Component.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Desktop.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_EditableText.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Event.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Hyperlink.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Hypertext.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Image.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Registry.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Relation.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Role.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Selection.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_State.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_StreamableContent.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Table.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Text.idl
/usr/share/gnome/idl/at-spi-1.0/Accessibility_Value.idl
An AT-SPI client can use any programming language for which general CORBA language bindings are available (for example, Java, C, C++) and
may use any CORBA 2.2-compliant ORB. The client bindings are generated from the above IDL by a language-specific IDL compiler which is usu-
ally bundled with ORBs. The GNOME 2 environment includes an efficient ORB with C bindings (ORBit2).
libcspi AT-SPI clients may also use the C language bindings that are defined in libcspi and documented in the developer documentation.
To access the developer documentation, you must install the developer version of the package.
Such clients may also link to libcspi, which provides CORBA server-side implementations of the Accessibility::EventLister interfaces which
are used for AT-SPI event notification support.
FILES
The following files are used by this application:
/usr/lib/libcspi.so AT-SPI C Binding shared library
/usr/share/gtk-doc/html Location of developer documentation
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-a11y-libs |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO libatk-1.0(3)NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2004.
SunOS 5.10 31 Aug 2004 libcspi.3(3)