How to compile a stored procedure that is there with in a script file(.sql) in unix

Hi,

How can i compile the procedure code that is there in a script file (.sql) in unix.