ksh
bash: debug option and functions
If I run bash -x 开发者_如何学编程myscript.sh I\'ll get debugging output. But if I have a function in myscript.sh, the code in the function is immune to -x option. It writes to output only the na[详细]
2023-04-04 23:47 分类:问答Do a split on Carriage return and create an array in ksh
I would like to do a split based on Carriage return and subsequently create an array. process.txt siebmtshm 30933160 /app/cis/u01/sia80/siebsrvr/temp/SIEBEL_30933160[详细]
2023-04-04 13:05 分类:问答Question about bug in ksh
I\'ve found follow开发者_StackOverflowing function in our old scripts: f() {# < files list typeset file[详细]
2023-04-04 01:31 分类:问答Is there a scripting tool for Mac?
Is there a tool for Mac OS like Windows VBScript? I want to write some script which generates开发者_JAVA技巧 folders automatically and copy & paste files according to input.It\'s called AppleScri[详细]
2023-03-29 03:57 分类:问答Mess with functions and associative arrays in ksh93
This is my simple array: typeset -A foo foo[\"first\"]=\"first Value\" foo[\"second\"]=\"second Value\" And I want to do a function that would pick this array, do something and return it back to t[详细]
2023-03-29 01:00 分类:问答How to manipulate arrays using indirect references in ksh?
I want to do a script of the sort: #!/usr/bin/ksh93 typeset -A foo function fillItUP { typeset -A newarr newarr[\"this\"]=\"bar\"[详细]
2023-03-28 07:51 分类:问答Eval madness in ksh
Man I hate eval... I\'m stuck with this ksh, and it has to be this way. There\'s this function I need, which will receive a variable name and a value. Will do some t开发者_StackOverflow社区hings to[详细]
2023-03-26 21:32 分类:问答set -e and short tests
When I was new to shell scripting, I used a lot of short tests instead of if statements, like false && true.开发者_StackOverflow中文版[详细]
2023-03-25 20:21 分类:问答Get Current Script Name While Was Calling from Another Script
In KornShell (ksh), I have a script that calls a list of scripts. The callee script needs to know its file name, so that it can generate unique configuration (or anything should be unique).[详细]
2023-03-24 00:14 分类:问答Are there "Goto"s in UNIX KSH scripts?
Is there a way within a KSH to exit a case statement and go to a certain line for next execution with the code? Or are there goto labels you 开发者_JS百科can use? Anything like this used instead of ne[详细]
2023-03-23 23:28 分类:问答
加载中,请稍侯......