01-28-2019
C'mon, gimley, with 301 post you should know that it is appreaciated in here if you show your attempts and where and how they fail / goof.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi i have two files and i want to compare both the files and find out mismatch in 3rd file
file1
00354|1|0|1|1|0|0|0|1|2
52424|1|0|1|1|0|0|0|1|2
43236|1|0|1|1|0|0|0|1|2
41404|1|0|1|1|0|0|0|1|2
79968|1|0|1|1|0|0|0|1|2
file2
00354|1|0|1|1|0|0|0|1|2
52424|1|0|1|1|0|0|0|0|2... (9 Replies)
Discussion started by: dodasajan
9 Replies
2. Shell Programming and Scripting
Hi,
I have a doubt when searching files for the existence of a particular key.
I have a property file has data with key and value pair like below and i call it as property file.ini
here are the contents in File: popertyfile.ini
location.property=2
agent.method=begin
newkey=23
... (2 Replies)
Discussion started by: raghu.amilineni
2 Replies
3. Shell Programming and Scripting
Hello,
I have two files. The first file contains specific syllables of a language (Hindi) and the second file contains a large database from which these syllables have been culled.
The syllable file which has syllables in Hindi has one syllable per line
and the corpus file has a data... (8 Replies)
Discussion started by: gimley
8 Replies
4. Shell Programming and Scripting
Hello,
I am a relative newbie and want to split Names in English into syllables. Does anyone know of a perl script which does that. Since my main area is linguistics, I would be happy to add rules to it and post the perl script back for other users. I tried the CPan perl modules but they don't... (6 Replies)
Discussion started by: gimley
6 Replies
5. UNIX for Dummies Questions & Answers
Hi
I have used the below steps and found some discrepancies
step 1 :
find ./ -type f -mtime +7 -name "*.00*" | wc -l = 13519 ( total files )
( the size of this files is appx : 10GB )
step 2:
find ./ -type f -mtime +7 -name "*.00*" | xargs tar zcvf Archieve_7.tar.gz
step... (7 Replies)
Discussion started by: rakeshkumar
7 Replies
6. Shell Programming and Scripting
Hi,
I have a requirement like below.
client is sending the .txt filles.In that file we have 10 records but when I execute the below command it is showing 9 records.
klena20> wc -l sample_file.txt|awk '{print $1}'
It is showing the output as 9
But in a file records are 10. I found... (7 Replies)
Discussion started by: kirankumar
7 Replies
7. Shell Programming and Scripting
In the below awk I am trying output to one file those lines that match between $2,$3,$4 of file1 and file2 with the count in (). I am also trying to output those lines that are missing between $2,$3,$4 of file1 and file2 with the count of in () each. Both input files are tab-delimited, but the... (7 Replies)
Discussion started by: cmccabe
7 Replies
8. UNIX for Beginners Questions & Answers
Hi,
I have a file with a list of bunch of IP addresses from different VLAN's . I am trying to find the list the number of each vlan occurence in the output
Here is how my file looks like
1.1.1.1
1.1.1.2
1.1.1.3
1.1.2.1
1.1.2.2
1.1.3.1
1.1.3.2
1.1.3.3
1.1.3.4
So what I am trying... (2 Replies)
Discussion started by: new2prog
2 Replies
PROF(1) General Commands Manual PROF(1)
NAME
prof - display profile data
SYNOPSIS
prof [ -a ] [ -l ] [ -n ] [ -z ] [ -s ] [ -v [ -low [ -high ] ] ] [ a.out [ mon.out ... ] ]
DESCRIPTION
Prof interprets the file produced by the monitor subroutine. Under default modes, the symbol table in the named object file (a.out
default) is read and correlated with the profile file (mon.out default). For each external symbol, the percentage of time spent executing
between that symbol and the next is printed (in decreasing order), together with the number of times that routine was called and the number
of milliseconds per call. If more than one profile file is specified, the output represents the sum of the profiles.
In order for the number of calls to a routine to be tallied, the -p option of cc, f77 or pc must have been given when the file containing
the routine was compiled. This option also arranges for the profile file to be produced automatically.
Options are:
-a all symbols are reported rather than just external symbols.
-l the output is sorted by symbol value.
-n the output is sorted by number of calls
-s a summary profile file is produced in mon.sum. This is really only useful when more than one profile file is specified.
-v all printing is suppressed and a graphic version of the profile is produced on the standard output for display by the plot(1) fil-
ters. When plotting, the numbers low and high, by default 0 and 100, may be given to cause a selected percentage of the profile to
be plotted with accordingly higher resolution.
-z routines which have zero usage (as indicated by call counts and accumulated time) are nevertheless printed in the output.
FILES
mon.out for profile
a.out for namelist
mon.sum for summary profile
SEE ALSO
monitor(3), profil(2), cc(1), plot(1G)
BUGS
Beware of quantization errors.
Is confused by f77 which puts the entry points at the bottom of subroutines and functions.
4th Berkeley Distribution April 29, 1985 PROF(1)