Search Results

Search: Posts Made By: alexstar
4,379
Posted By alexstar
Just found the solution - it is "Here document"
#open runrep shell
${GVHOME}/bin/runrep -f empty.lst -u ${RUNREP_USER} -w ${RUNREP_PWD} <<EOF
read ${RSL_NAME}
runfile ${RSL_NAME} -p ${PORTFOLIO_NAME} -f ${FORMAT} -o ${OUT_FILENAME}
...
3,486
Posted By alexstar
best solution is to use getopts
I just learned that I also could use getopts.:)
4,379
Posted By alexstar
Here is where is stops: #open runrep...
Here is where is stops:


#open runrep shell
runrep -u $RUNREP_USER -w $RUNREP_PWD -f empty.lst


After this line, I have runrep-specific command "run report". However, it is just stop, unable...
4,379
Posted By alexstar
How can I execute another shell from my ksh script?
I am newbie in UNIX, so please excuse me for the stupid question.:)
Here is a problem:
I created ksh script where the part of the functionality include an opening of a second session with another...
3,486
Posted By alexstar
I finally opened file in vi and noticed that it...
I finally opened file in vi and noticed that it has a banch of characters:

^M

What is a quick way to clean it?
3,486
Posted By alexstar
`end of file' unexpected error
When I am executing my really simple shell script below, I got an error:
`end of file' unexpected. Script is suppose to print out a list of supplied parameters.
Here is my script:

#!/bin/sh
...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 10:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy