Search Results

Search: Posts Made By: AdrianM
1,707
Posted By AdrianM
Ksh errors while copying a directory
Hello all,

I have a ksh script run on Solaris 10 by the root user. The section that's giving me errors is the following:

VAR=$(perl -lne '...')

if [[ "$VAR" == "" ]] ; then
print "$VAR...
3,394
Posted By AdrianM
The script is written in ksh, and the version I...
The script is written in ksh, and the version I found out with "set -o emacs" and then "Ctrl-V" is Version M-11/16/88i

Is this the 1988 version of the Korn shell?
3,394
Posted By AdrianM
Syntax error on variable assignment
Hello all,

I have "inherited" a Korn shell script I'm supposed to maintain, and running a "sh -n" on it, I got this syntax error:

script.sh: syntax error at line 63: `OB_DEVICE=$' unexpected
...
27,265
Posted By AdrianM
Dual output (stdout and file)
Hello everybody,

Is there a more elegant way to make dual output (display on standard output and append to a file) while I'm executing a shell script, besides duplicating the echo command for...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 10:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy