07-15-2013
Still do not understand 'change'
In your first example, a single character at position 3 is different; and thus you call this "Modification".
In your 2nd example, three characters at positions 13-14-15 are different; and this is also a "Modification".
What if 20 characters are different? Is that simply another Modification? When is a Modification not a Change, but a delete and add?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I've been working on getting a script to take size, dir name and file name variables from an input file and creating the same dir structure along with the file of specific size.
An example of the input file:
size/dirname/filename
2100/JAN_06/12345ABC.TCC
2354/FEB_06/24564XYZ.NOS... (2 Replies)
Discussion started by: nxd25
2 Replies
2. Shell Programming and Scripting
Hi,
My aim is to generate a report using shell script. There are various formats fields coloumns etc.
I want to print in a single line (row) but in different coloumn as given below:
field1 field2 field3 field4
....... ....... ...... .......
The spacing... (1 Reply)
Discussion started by: jisha
1 Replies
3. Shell Programming and Scripting
I/P file name:- 20092008.txt
Check number of entries in i/p file by following command
ChkEnt -infl 20092008.txt -opfl 20092008_test.txt >count.txt
Dear Friends,
Please help me in automating following thing.
If output generated (count.txt) is having value more than 1000 i.e.... (8 Replies)
Discussion started by: anushree.a
8 Replies
4. Shell Programming and Scripting
My file will contain following(log.txt):
start testcase: config loading
......
error XXXX
.....
end testcase: config loading, result failed
start testcase: ping check
.....
error ZZZZZ
.....
error AAAAA
end testcase: Ping check, result failed
I am expecting below output. ... (4 Replies)
Discussion started by: shellscripter
4 Replies
5. Shell Programming and Scripting
Hi all,
I have a log file of the below format.
20081016:000042 asdflasjdf asljfljs asdflasjf safjl
20081016:000229 /lask/ajlsdf/askdfjsa
20081016:000229 /lashflas /askdfaslj hsfhsahf
20081016:000304 lasflasj ashfashd
20081016:000304 lajfasdf ashfashdfhs
I need to generate a... (3 Replies)
Discussion started by: manoj.naidu
3 Replies
6. Shell Programming and Scripting
Hi,
I want to generate a report for count mismatching.
Steps followed for creating a script
for file in
1). I have to fetch the file name from the checksum.out #customer_information_
2). Added Detail #customer_information_Detail
3). Check the file exist or not.
3.1.1)if the the file... (1 Reply)
Discussion started by: number10
1 Replies
7. Shell Programming and Scripting
On my website I host a lot of files, and when people view the site, currently each time the page loads, I have PHP generating the md5 sums for the files right then and there. It was fine when my site was small, but now that's obviously very inefficient. Now I'd like to start generating MD5 sums... (4 Replies)
Discussion started by: GrdLock
4 Replies
8. Shell Programming and Scripting
Hello All,
I need to execute around 15 queries after which all data should come in Excel format.
Executing 15 queries is not a problem.
Problem is how to present/put data in excel.
kindly suggest me how to start, what to study or what should i do.
thanks, (1 Reply)
Discussion started by: shubham8787
1 Replies
9. Shell Programming and Scripting
Hi I recently joined a project where I have been asked to generate a report using shell script accessing UNIX box.
I have no idea on how to do it as I am a beginner and learning shell scripts.
Suppose I have a XML:
<XYZRequest>
<effectiveDate>someDate</effectiveDate>... (2 Replies)
Discussion started by: vat1kor
2 Replies
10. Shell Programming and Scripting
Comparing two files on row by row
File1
ecount~100
dcount~200
ccount~300
zxcscount~5000
and so on.
File2
ecount~100
dcount~203
ccount~300
zxcscount~5000
and so on.
If i use diff command (1 Reply)
Discussion started by: onesuri
1 Replies
LEARN ABOUT DEBIAN
sendinpaths
SENDINPATHS(8) InterNetNews Documentation SENDINPATHS(8)
NAME
sendinpaths - Send Usenet Path: statistics via e-mail
SYNOPSIS
sendinpaths [-cdhn] [-k keep-days] [-r report-days] [address [address ...]]
DESCRIPTION
sendinpaths checks pathlog/path for ninpaths dump files, finds dump files generated in the past report-days days, makes sure they are valid
by running ninpaths on each one and making sure the exit status is zero, and passes them to ninpaths to generate a cumulative report. By
default, that report is mailed to the e-mail addresses configured at the beginning of this script (by default, only one address is
configured: <top1000@anthologeek.net>) in order to supply the TOP1000 project with useful statistics. See
<http://top1000.anthologeek.net/> for more information.
When finished, sendinpaths deletes all dump files in pathlog/path that are older than keep-days days.
For more information on how to set up ninpaths, see ninpaths(8).
OPTIONS
-c When this flag is used, the report is also e-mailed, besides the default submission addresses or those given as command-line arguments,
to the newsmaster's address set at configure time.
-d Enables debug messages.
-h Gives usage information.
-k keep-days
After having processed dump files, sendinpaths removes those that are older than keep-days days. The default is 0, that is to say to
remove all dump files.
Setting keep-days to another value can be useful for debugging purpose because it permits to keep a few dump files.
-n Don't e-mail the report; instead, just print it to standard output. Don't delete old dump files.
-r report-days
Process dump files generated during the last report-days days. The default is 32, that is to say to process all the dump files that
have been generated during the last 32 days (if, of course, they have not been deleted yet by a previous run of sendinpaths according
to the value set by the -k flag).
address ...
E-mail the report to the mentioned address or addresses, instead of the default one. Several addresses can be used, separated by
whitespace. For instance, for two adresses:
sendinpaths pathsurvey@top1000.org top1000@anthologeek.net
HISTORY
sendinpaths was written by Olaf Titz <olaf@bigred.inka.de>.
$Id: sendinpaths.pod 9384 2011-12-25 20:57:03Z iulius $
SEE ALSO
ninpaths(8).
INN 2.5.3 2012-06-15 SENDINPATHS(8)