I guess I would start by using valid GGSCI command syntax in the first place. The OBEY command/usage, for example, is:
GGSCI> obey < file with whatever in it >

What are the valid arguments for GGSCI?

[oracle@oel32 ggs]$ ggsci obey_this.txt
Usage: ggsci PARAMFILE [REPORTFILE ] [CD ]
[LOG] [NOLOG] [PORT ]

http://forums.oracle.com/forums/foru...ID=860&start=0