ksh
How to re-execute the last command which name begins with 'c' in Korn Shell (ksh)?
Just like in the title. I do not know how I can do it in Korn Shell. I tried: r \'c*\' ...with no result. Can s开发者_运维知识库omeone help me with this one?simply r c works for me (Ubuntu 10.10)Us[详细]
2023-02-15 14:17 分类:问答KornShell Sort Array of Integers
Is there a command in KornShell (ksh) scripting to sort an array of integers?In this specific case, I am interested in simplicity over efficiency.For example if the variable $UNSORTED_ARR con开发者_运[详细]
2023-02-15 01:40 分类:问答How to send multiple files through SFTP from KSH Unix script
How do I transfer multiple files through SFTP using KSH unix script. I am having the following information regarding the legacy system.开发者_运维知识库[详细]
2023-02-11 06:58 分类:问答How can a Dynamic View be accessed in Hudson from a KornShell script?
Using a Clearcase Dynamic view, Hu开发者_Python百科dson\'s job log shows cleartool\'s lsview, startview and lshistory commands are all successful.[详细]
2023-02-10 15:58 分类:问答Scoping problems in different shell languages?
It appears that pdksh and mksh has the scoping implementation I expected. For example: readonly x=\'global\'[详细]
2023-02-10 09:50 分类:问答ksh alias or function that does "setTermName blah"
I have the following line: echo -ne \"\\033]开发者_如何学Python0;blah\\007\" that correctly sets the term name to blah. But if I place that line within a function, as in:[详细]
2023-02-09 15:29 分类:问答why this code is not working?
#! /bin/ksh awk -F\':\' \'{ if( match($0,\":ser开发者_StackOverflowver:APBS\") ) { print x; x=$0; } }\' iws_config4.dat[详细]
2023-02-07 09:54 分类:问答KornShell Boolean Conditional Logic
I am a little confused with this KornShell (ksh) script I am writing, mostly with booleans and conditionals.[详细]
2023-02-07 08:48 分类:问答how to stop exiting from a script?
I have a script A which call a script G . Inside script G I cannot change any thing (don\'t have write access).[详细]
2023-02-06 20:43 分类:问答Difference between linenumbers of cat file | nl and wc -l file
i have a file with e.g. 9818 lines. When i use wc -l file, i see 9818 lines. When i vi the file, i see 9818 lines. When i :set numbers, i 开发者_如何转开发see 9818 lines. But when i cat file | nl, i s[详细]
2023-02-06 15:34 分类:问答