ksh
Shell script works in bash but not in ksh
I need to write a script to test if the command blablabla exists in the classpath. So I wrote the following code:[详细]
2023-04-11 05:07 分类:问答Unix shell functions, command substitution and exit
Please explain me about how to use unix shell function correctly. For example we have following functions f and g:[详细]
2023-04-10 21:36 分类:问答Can I pipe part of my bash scripts output to a file? Can I pipe to a file and stdout?
I am pretty sure I\'ve seen this done before, but I can\'t seem to find it by google. for file in $mydir/*[详细]
2023-04-10 16:55 分类:问答Using variable 'values' to define variable 'names' in the KornShell
My program involves a number of JAVA threads calling a KornShell (ksh) script file with different parameters. This script file in turn calls some SQL commands[详细]
2023-04-10 05:35 分类:问答How can a ksh script determine the full path to itself, when sourced from another?
How can a script determine it\'s path when it is sourced by ksh? i.e. $ ksh \". foo.sh\" I\'ve seen very nice ways of doing this in BASH posted on stackoverflow and elsewhere but haven\'t yet found[详细]
2023-04-09 11:45 分类:问答Tokenize a string in KornShell
I need to tokenize in string in KornShell (ksh). I have got the following script for bash; but it does not seem to work in ksh.[详细]
2023-04-09 06:58 分类:问答Python: return output of ksh function
On Unix, how can Iretrieve the output of a ksh function as a Python variable? The function is called sset and is defined in my \".kshrc\".[详细]
2023-04-08 04:47 分类:问答Unix ksh alias parameter for multiple commands?
I did a 开发者_StackOverflow中文版research and found some solutions but none of them worked for me... Maybe could you help me ?[详细]
2023-04-06 04:46 分类:问答Calling method from AWK command
I have varibales which represent order numer I want to parse it and call to method handleOrder I tried it but not working[详细]
2023-04-05 10:01 分类:问答KSH: Block two process from running at the same time
I have two process that running at random time and I want to force them not to ever run at the same time due to reader-writer problem. My thought is whenever a process run, I create a LOCK file, both[详细]
2023-04-05 09:54 分类:问答