Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Unix shell script problem...
Name: premalm Date: May 5, 2004 at 09:17:22 Pacific OS: windows 2000 CPU/Ram: -
Comment:
Hi Guys,
I have a unix shell script which is like this...
sqlplus -s $FEB_UID/$FEB_PWD@feb_dev |& print -p "select '|'||job_id||'|' from jobreq where status = 'PENDING';" print -p "exit" while read -p LINE do Item1=${LINE} print ${Item1} done
when I run the shell script the output is '|'||JOB_ID||'|' ------------- |116| |117| |118| |119| |120| |121|
I only want the nos in ITEM1 variable ? how do i do this ? any ideas ?
Summary: Hey everybody.. I am wondering what software should I download for my PC at home to write and compile Unix Shell Script? Please reply as soon as possible.. Cheers ...