x=102 y=x means when i echo $y it gives x echo $y x--and not 102 and when i echo $x it give 102 lets say I dnt know what is inside y
I have encountered an issue with KornShell (ksh) scripts running differently on ksh88 & ksh93 wherein functions which call functions handle differently, variables declared with typeset and export.
How do I append a string to all the files in a directory that starts with a particular string? I tried,
I need to print the following: need smart ways by printf to print this example param1 ............... value1
at the moment I\'m writing a simple script in ksh who should take some strings from a DB and list them on the shell. This is how it should work:
As stated in the title, I have to write a simple script which should perform some typical agenda\'s functions. The script must use crontab.
More than a problem, this is a request for \"another way to do this\". Actually, if I want to use the result of a previous command in another one, I use:
I want to do this i开发者_如何学Pythonn a shell script: #!/usr/bin/ksh PERL_PATH=/usr/local/bin/perl
I\'m using ksh and having some trouble. Why does this code not run? [root]$ CMD=\"ls -ltr\" [root]$ eval \"W=$( $CMD )\"
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.