Search Results

Search: Posts Made By: lucae
12,880
Posted By lucae
it works
Thanks very much..! :b:
12,880
Posted By lucae
Config File with ksh
I want to read a config file with a few variables in it

like this

#include <bretest.config>

the content of the file should be more or less


String1="abc"
String2="DEf"


or...
4,918
Posted By lucae
Looks good, sounds good, works good! Thanks!
Looks good, sounds good, works good!

Thanks!
4,918
Posted By lucae
StdOut to file --> Append Mode
Hy

I've got a little problem:

I work with ksh...
The application I start should write its output to a log file. It works but the problem is that as I have to run this application few times in...
5,461
Posted By lucae
No I wasn't before :-) Thank you very much,...
No I wasn't before :-)

Thank you very much, I just replaced # with 1 and now it works!

Lucae from Switzerland
5,461
Posted By lucae
Background-Process with #>/dev/null
Heya

I want to start a new background-process like this:


/tools/bin/bretestdriver QMGR=$QMGR REQUEST=$REQUEST CONTROL=$INPUTSAS $TESTCASE #>/dev/null &



[Path/Name] [Parameter1]...
10,067
Posted By lucae
Thanks very much! Lucae from Switzerland
Thanks very much!

Lucae from Switzerland
10,067
Posted By lucae
again... thats more or less my code...: i=0 ...
again... thats more or less my code...:

i=0
while [ $# -gt 0 ] ; do
...
shift
i=$i+1
done
echo "$i tescases done"


lucae
10,067
Posted By lucae
"integer" in ksh? how to count with shell
Hy

Stupid question, I know. But I can't get the Solution. As I know C / Java / PHP and other languages I can't get the point with ksh :o.

in a while/do iteration I like to count up an integer...
45,079
Posted By lucae
It works, thanks a lot! lucae from...
It works, thanks a lot!

lucae from Switzerland
45,079
Posted By lucae
KSH Functions String return
Hy everybody

I'm trying to write a function like

function(){
final=$1
return $final
}

but I get following error:
"return: bad non-numeric arg '[content of $final]'"

what shall I...
Showing results 1 to 11 of 11

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