10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Guys,
I have a file say FILE1.txt contains below data:-
A
B
C
D
E
F
G
H
I
J
K
L
I need the output in another file as FILE2 as:-
'A', 'B', 'C', 'D', 'E', (7 Replies)
Discussion started by: jassi10781
7 Replies
2. Shell Programming and Scripting
Hello,
I have a file as :-
ABC
DEF
GHI
JKL
<BlankLine>
MNO
PQR
STU
VWX
<BlankLine>
YZA
I need it as below:-
ABCDEFGHIJKL;
MNOPQRSTUVWX; (3 Replies)
Discussion started by: jassi10781
3 Replies
3. Shell Programming and Scripting
Hi! all
can any one tell me how to compare current record of column with next and previous record in awk without using array
my case is like this
input.txt
0 32
1 26
2 27
3 34
4 26
5 25
6 24
9 23
0 32
1 28
2 15
3 26
4 24 (7 Replies)
Discussion started by: Dona Clara
7 Replies
4. Shell Programming and Scripting
Hi - I'm new to working with multiline records and I'm going nuts trying to do something that seems simple.
Input:
Tue May 1 14:00 Header Record 1 is valid.
Tue May 1 14:00 processing data to 25-Mar-2012 09:00:23.15
Tue May 1 14:03 Header Record 1 is valid.
Tue May 1 14:03 processing data... (4 Replies)
Discussion started by: Catullus
4 Replies
5. Shell Programming and Scripting
I have a file that looks something like this with lots of text before and after.
Distance method: Sum of squared size difference (RST)
</data> <pairwiseDifferenceMatrix time="02/08/11 at 13:08:27">
1 2
1 448.82151 507.94231
2 ... (7 Replies)
Discussion started by: mgray
7 Replies
6. Shell Programming and Scripting
Dear Experts,
I need to extract specific records from one file which has multiline records.
Input file pattern is:
============
aaaaaaaa
bbbbbbbb
asdf 1234
cccccccc
dddddddd
============
aaaaaaaa
bbbbbbbb
qwer 2345
cccccccc
dddddddd (7 Replies)
Discussion started by: dhiraj4mann
7 Replies
7. Shell Programming and Scripting
am trying to grab the fields marked in red for monitoring purposes. each vfiler can have anywhere from 0-50 Path(s).
in order to get here i run the following
for filer in `cat filers.list` ; do ssh $filer vfiler status | awk '{print $1}' ; done
this returns
vfiler0
vfilert
vfiler2
... (2 Replies)
Discussion started by: riegersteve
2 Replies
8. Shell Programming and Scripting
Hello!
i wanna match in a config file, one text with more than one lines, something like this:
CACHE_SIZE{
10000 M
}
I have problems with the ends of line, i think that i can match the end of the line with \n, but i can't get it
Someone can help me with the regular expression?
... (18 Replies)
Discussion started by: claw82
18 Replies
9. Shell Programming and Scripting
I have a file like the below:
Start
<</NumCopies 0001>>
0223 098 et(5926)sh
0223 098 mt(5926)sh
End
Start
<</NumCopies 0001>>
0224 098 et(5926)sh
0224 098 mt(5926)sh
End
This file needs to be split to seperate files. Each of the seperate file will need to... (3 Replies)
Discussion started by: pt14
3 Replies
10. Shell Programming and Scripting
Hi All
I have a file like this
<LText>gvsvdkag<LREC>bdjvdj</LREC>nididyvv</LText>
<LText>gvsvdkag<LREC>bdj
vdj</LREC>nididyvv</LText>
<LText>gvsvdkag<LREC>b
djvdj</LREC>nididyvv</LText>
<LText>gvsvdkag<LREC>bdjvdj</LREC>nididyvv</LText>
How will i change the file to ... (9 Replies)
Discussion started by: anju
9 Replies