Search Results

Search: Posts Made By: calsum
9,205
Posted By calsum
yes it works now with nawk. I had a missing...
yes it works now with nawk. I had a missing semicolon again.

Thanks.

awk ' NR==FNR { arr[FNR] = $1; next; } { print arr[FNR],$0 (arr[FNR]>0 ? OFS $0 : ""); for (i=2; i<=arr[FNR]; i++) print...
9,205
Posted By calsum
no luck...still syntax error
no luck...still syntax error
9,205
Posted By calsum
awk ' NR==FNR { arr[FNR] = $1; next; } { print...
awk ' NR==FNR { arr[FNR] = $1; next; } { print arr[FNR],$0 (arr[FNR]>0 ? OFS $0 : "") for (i=2;>
awk: syntax error near line 1
awk: illegal statement near line 1
awk: illegal statement near line 1...
9,205
Posted By calsum
f1 f2 output 1 a a 2 b b b...
f1 f2 output
1 a a
2 b b
b
3 c c
c
c
4 d d
d
d
d

Sorry if i confused you.

And I typed everything in single...
9,205
Posted By calsum
or try like this nawk 'BEGIN { while (...
or try like this

nawk 'BEGIN {

while ( getline < "f1" ) {arr[i++] = $0 }
}

{ print arr[j++], $0 }' f2

====> In this case it just prints both lines 1 and 2




awk '
NR==FNR {
...
9,205
Posted By calsum
How to work with two files with awk
I have two files:

The number of lines in both files are always same.

I could get these specific lines from a huge data file, but what I want to do now is take first line of file1 which is 1 and...
Forum: Solaris 04-23-2008
6,104
Posted By calsum
We got it fixed, but looks like the license is...
We got it fixed, but looks like the license is per hostID(or chassis) . Need to update in symantec. Thanks for your feedback was really useful.
Forum: Solaris 04-21-2008
6,104
Posted By calsum
worked fine!. Do you know where can I find...
worked fine!. Do you know where can I find Veritas 3.2, symantec seems to have it owned the company. I have the license, cant find the software.
Forum: Solaris 04-18-2008
6,104
Posted By calsum
Just saw Solaris 8 in the list. Let me try...
Just saw Solaris 8 in the list. Let me try reading it, Thanks much
Forum: Solaris 04-18-2008
6,104
Posted By calsum
Is this applicable to Solaris 8?. Sorry for...
Is this applicable to Solaris 8?.

Sorry for the cross post.
Forum: Solaris 04-18-2008
6,104
Posted By calsum
storEDGE A5000 disk Array
Do you know how do I make my solaris 8 detect the storEDGE A5000?.
I have problem making it recognise, without that I cannot install VxVM.

Any ideas?
Forum: Solaris 04-18-2008
3,258
Posted By calsum
storEDGE A5000
Do you know how do I make my solaris 8 detect the storEDGE A5000?.
I have problem making it recognise, without that I cannot install VxVM.

Any ideas?
Forum: Solaris 04-17-2008
3,258
Posted By calsum
how do I make my workstation an installation server for a remote server?.
Is there a way I can make my Sun workstation as a installation server for a remote server?.
Forum: Solaris 04-17-2008
2,804
Posted By calsum
One of them turned back on fine, when we cover...
One of them turned back on fine, when we cover the it properly. The other looks a bit problematic still. Thanks for the response.
Forum: Solaris 04-17-2008
2,804
Posted By calsum
Powering ON SUN 450 Enterprise
Problem powering ON the SUN 450 E, we checked voltage and the power supply. Seems to be we have out of 3 LED's in the back 2 are glowing, when we turn the power button on the front from standby to...
8,663
Posted By calsum
Would it right anything?. I mean a "0" or "1"?....
Would it right anything?. I mean a "0" or "1"?. Sorry just want to know beforehand what to expect.
8,663
Posted By calsum
Tcl version btwn 9 & 10? -- No the solaris...
Tcl version btwn 9 & 10? -- No the solaris version 9 and 10.
Are you using an expect binary or loading as a package? -- it is a binary. (expect1.1)
Have you considered asynchronously handling...
8,663
Posted By calsum
Little background: This is a expect-tk...
Little background:

This is a expect-tk script which we have it on a Sun-sparc WS. The script was working fine before we upgraded the machine from solaris 9.0 to solaris 10.0. Now the script does...
8,663
Posted By calsum
tcl/expect
Can someone identify what is the problem here?.

no children
while executing
"exp_wait -nowait -i -1"
(procedure "logOptions" line 45)
invoked from within
"logOptions"
...
Showing results 1 to 19 of 19

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