10 More Discussions You Might Find Interesting
1. Solaris
We recently moved our netapp disks onto new infrastructure by attaching the new controllers to our fibre switch and netapp migrating the disks. Disks kept the same address. We originally had 4 paths, but after attaching the new controllers we had 8. Now I want to remove the old paths. But can't. ... (5 Replies)
Discussion started by: garydeena
5 Replies
2. Shell Programming and Scripting
Need to count consecutive characters in a string and give the output as below
i/p=aaaabbcaa
o/p=a4b2c1a2 (10 Replies)
Discussion started by: prasanna2166
10 Replies
3. Shell Programming and Scripting
I was wondering how I would go around to do this.
This is an example of my output
Sun Aug 21 2016 03:00:00, BLAH
Mon Aug 22 2016 03:54:00, BLAH
Tue Aug 23 2016 04:22:11, BLAH
Thu Aug 25 2016 05:00:00, BLAH
Now what I would like to do is only count CONSECUTIVE days so in the... (1 Reply)
Discussion started by: rodriguesm
1 Replies
4. Shell Programming and Scripting
I have a file in below format:
file01.txt
TERM
TERM
TERM
ABC 12315 68.53 12042013 165144
ABC 12315 62.12 12042013 165145
ABC 12315 122.36 12052013 165146
ABC 12315 582.18 12052013 165147
ABC 12316 2.36 12052013 165141
ABC 12316 ... (8 Replies)
Discussion started by: alex2005
8 Replies
5. Shell Programming and Scripting
Hi folks,
I have a file with four columns that looks like the following (tab separated)
1 1 1 a
2 2 2 b
3 3 3 c
4 4 4 d
I would like to create a file with always 4 columns but where the third entry corresponds to the thirst entry of the next line and so on, to get the following
1 1 2 a... (4 Replies)
Discussion started by: klebsiella
4 Replies
6. Solaris
Hi,
Can someone tell me the command to do this in solaris 5.10 please? I've trawled around the internet for ages but all I can find is the AIX command...
Thanks (2 Replies)
Discussion started by: Grueben
2 Replies
7. Shell Programming and Scripting
Hello,
I have a matrix 200*10,000 and I need to extract the columns between 40 and 77. I dont want to write in awk all the columns. eg: awk '{print $40, $41, $42,$43 ... $77}'. I think should exist a better way to do this. (10 Replies)
Discussion started by: auratus42
10 Replies
8. Shell Programming and Scripting
Hi All,
I have a data as follow:
0
0
0
X
X
0
X
X
X
0
X
0
0
X
0
0 (16 Replies)
Discussion started by: nica
16 Replies
9. Shell Programming and Scripting
hi, I'm totally new to this forum and to awk.
I have what I thought was a simple problem, but I can't get anything to work. Here is an example input file:
3.85 4018.4
3.9 4068.4
3.95 4082.9
4 4099.7
# Property:.......etc.
0 4733.3
0.05 4659.7
0.1 4585.6
0.15 4466.2
Two... (2 Replies)
Discussion started by: ogga
2 Replies
10. Shell Programming and Scripting
HI All,
I want to cut 5 lines after a pattern using sed or awk. can any one tell me how to do it ? (2 Replies)
Discussion started by: raghin
2 Replies