9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have two files that I am going to use diff to find the differences but need to parse them before I do that. I have include the format of each file1 and file2 with the desired output of each (the first 5 fields in each file). The first file has a "chr" before the # that needs to be removed. I... (1 Reply)
Discussion started by: cmccabe
1 Replies
2. Shell Programming and Scripting
Hi all,
We are having a sample log like
....
test.log:2015.03.17 06:16:24 >> ABC.generateMethod() MethodAException while processing Request! DataForm: Header --- dtd: template.dtd, titleName: berger, requestId: 1503170032131, documentName: invoice123, hostName: acme.net, userName: userABC... (10 Replies)
Discussion started by: tandrei
10 Replies
3. Shell Programming and Scripting
HI all
I have multiple csv files with the names
VAR1_VAR2_VAR3_VAR4.csv
All the files have the same structure inside just values change.
I am trying to retrieve data from those files by fixing at each time one or more VAR.
I tried to write a script but I have 2 problems:
2-... (1 Reply)
Discussion started by: Jhon.c
1 Replies
4. Shell Programming and Scripting
Hello All,
I have a situation as below:
(1) Read a source file (a single file of 1.2 million rows in it )
(2) Read Destination files one by one and replace the content ( few fields in it ) with the corresponding matching field from source file.
I tried as below: ( please note I am not... (4 Replies)
Discussion started by: panyam
4 Replies
5. Shell Programming and Scripting
Dear Unix Gurus,
need your expertise to help troubleshoot a certain problem i'm having. I crated a shell script which will ftp get 1 crash log from multiple servers (listed in a text file). Each log will then be parsed by calling an awk script. The problem is, for certain log its parsing... (7 Replies)
Discussion started by: tarj
7 Replies
6. UNIX for Dummies Questions & Answers
Hello,
i would like to parse Unix log files and i would like to use a Unix syslog analyzer.
I'm going to use Eucalyptus and i would like to parse its log files.
Is there any open source/free syslog parser??
Thanks, in advance! (2 Replies)
Discussion started by: g_p
2 Replies
7. Shell Programming and Scripting
Hi
I've 2 folder A and B, they have files with the same name but different content.
I mean
A contain---------> aa.txt, bb.txt, cc.txt
B contain---------> aa.txt, bb.txt, cc.txt
but aa.txt in A has different content from aa.txt in B.
I'd like to parse the homonyms files in... (7 Replies)
Discussion started by: Dedalus
7 Replies
8. Shell Programming and Scripting
For the CSV file it should have one entry per line looking like this:
pwd/filename,YYYYMMDDhhmmss,OK
The date stamp should be from the file properties and OK will be a constant.
find . name 'W*' gives me the proper list of files and date +%Y%m%d%H%M%S is the proper date format but I... (0 Replies)
Discussion started by: pimentelgg
0 Replies
9. Shell Programming and Scripting
Say I have 2 files of 2 rows of 3 columns each
file1:
cat catdata1 catdata2
dog dogdata1 dogdata2
file2:
cat catdata3 catdata4
dog dogdata3 dogdata4
and I need to combine both files so that is appears like:
cat catdata1 catdata2 catdata3 catdata4
dog dogdata1 dogdata2 dogdata3... (8 Replies)
Discussion started by: Awanka
8 Replies