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
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开发者_运
How do I transfer multiple files through SFTP using KSH unix script. I am having the following information regarding the legacy system.开发者_运维知识库
Using a Clearcase Dynamic view, Hu开发者_Python百科dson\'s job log shows cleartool\'s lsview, startview and lshistory commands are all successful.
It appears that pdksh and mksh has the scoping implementation I expected. For example: readonly x=\'global\'
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:
#! /bin/ksh awk -F\':\' \'{ if( match($0,\":ser开发者_StackOverflowver:APBS\") ) { print x; x=$0; } }\' iws_config4.dat
I am a little confused with this KornShell (ksh) script I am writing, mostly with booleans and conditionals.
I have a script A which call a script G . Inside script G I cannot change any thing (don\'t have write access).
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