03-26-2011
.procmailrc and uudeview (put attachments from diff senders to diff folders)
Moderator, please, delete this topic
Last edited by optik77; 03-27-2011 at 01:30 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I want to compare two files. All records in file 2 that are not in file 1 should be output to file 3.
For example:
file 1
123
1234
123456
file 2
123
2345
23456
file 3 should have
2345
23456
I have looked at diff, bdiff, cmp, comm, diff3 without any luck! (2 Replies)
Discussion started by: blt123
2 Replies
2. UNIX for Advanced & Expert Users
Hi
I would like to find the diff between two folders:
Ex:
Folder:1
html.java
go.java
ten.java
Folder:2html.java
go.java
ten.java
you.java
Questions comes:
Folder:1 contains a files with old version, know the files were modified and updated with the new version in Folder2.
I... (2 Replies)
Discussion started by: gkrishnag
2 Replies
3. UNIX for Dummies Questions & Answers
hi all,
i want to do this shell script.
create a script that will check the transferred file vs. orig file.
1. diff the file1 and file2
2. if difference found, retain the original file and email to netcracker team.
3. if no difference found, delete the previous file and retain... (3 Replies)
Discussion started by: tungaw2004
3 Replies
4. Shell Programming and Scripting
Hi,
svn diff does not work very well with 2 local folders, so I am trying to do this diff using diff locally.
since there's a bunch of meta files in an svn directory, I want to do a diff that excludes everything EXCEPT *.java files. there seems to be only an --exclude option, so I'm not sure... (3 Replies)
Discussion started by: ackbarr
3 Replies
5. UNIX for Dummies Questions & Answers
is there any way to make the diff function compare 1 folder to another instead of just file to file?
also, can binary files be compared? (2 Replies)
Discussion started by: puzzler
2 Replies
6. Shell Programming and Scripting
I have 2 files as follows:
filename1: :
6742 /welcome/mundial98_ahf1_404.htm 1020
6743 /welcome/mundial98_ahf1_404.htm 2224
6744 /welcome/mundial_ef1_404.htm 21678
6745 /welcome/mundial_if_404.htm 4236
6746 /welcome/mundial_lf1_404.htm 21678
filename2:
6746 894694763 1... (2 Replies)
Discussion started by: jontjioe
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Can anyone tell me the diff between the two filters "more" and "less"?
Many thanks.
Regards,
Venkat. (4 Replies)
Discussion started by: venkatesht
4 Replies
8. Shell Programming and Scripting
Hi,
I am new to shell scripting.
please help me to find out the solution.
I need a script where we need to read the text file(consists of all file names) and get the file names one by one
and append the date suffix for each file name as 'yyyymmdd' .
Then search each file if exists... (1 Reply)
Discussion started by: Lucky123
1 Replies
9. Shell Programming and Scripting
I am having two csv files i need to compare these files and the output file should have the information of the differences at the field level.
For Example,
File 1:
A,B,C,D,E,F
1,2,3,4,5,6
File 2:
A,C,B,D,E,F
1,2,4,5,5,6
out put file: (12 Replies)
Discussion started by: karingulanagara
12 Replies
10. Shell Programming and Scripting
Guys i have 3 files,
but i want to compare and diff only the 2nd column
path=`/home/whois/doms`
for i in `cat domain.tx`
do
whois $i| sed -n '/Registry Registrant ID:/,/Registrant Email:/p' > $path/$i.registrant
whois $i| sed -n '/Registry Admin ID:/,/Admin Email:/p' > $path/$i.admin... (10 Replies)
Discussion started by: kenshinhimura
10 Replies
LEARN ABOUT DEBIAN
swiss::ccs
SWISS::CCs(3pm) User Contributed Perl Documentation SWISS::CCs(3pm)
Name
SWISS::CCs
Description
SWISS::CCs represents the CC lines within a Swiss-Prot or TrEMBL entry as specified in the user manual
http://www.expasy.org/sprot/userman.html . The CCs object is a container object which holds a list comprised of object of the type
SWISS::CC or derived classes (see below).
Code example
local $/="
//
";
while (<>) {
my $entry = SWISS::Entry-> fromText($_);
my @CCs = $entry -> CCs -> elements();
for my $CC (@CCs) {
if ($CC -> topic eq 'ALTERNATIVE PRODUCTS') {
# now can call methods of CCalt_prod
} elsif ($CC -> topic eq 'Copyright') {
# now can call methods of CCcopyright
} else {
# now can call methods of CC
}
}
}
Inherits from
SWISS::ListBase.pm
Attributes
"list"
Each list element is an object of one of the following classes, depending of the type of comment:
topic object
-------------------- --------------------
ALTERNATIVE PRODUCTS SWISS::CCalt_prod
RNA EDITING SWISS::CCrna_editing
BIOPHYSICOCHEMICAL PROPERTIES SWISS::CCbpc_properties
INTERACTION SWISS::CCinteraction
Copyright SWISS::CCcopyright
(all other topics) SWISS::CC
Methods
Standard methods
new
fromText
sort
Sort the CC block according to the order given in Swiss-Prot annotation note ANN017.
toText
update
Reading/Writing methods
ccTopic ($topic)
Returns true if entry contains a comment block with the specified topic.
copyright
Returns a string representation of the copyright text.
del (@patternList)
Deletes all comment elements whose topic matches the first element of the pattern list. The second element is the used to specify a
requirement for the comment to match as well.
get (@patternList)
An array is returned consisting of all comment elements elements whose topic matches any elements of the pattern list.
getObject (@patternList)
Same as get, but returns the results wrapped in a new ListBase object.
toString
Returns a string representation of the CCs object.
perl v5.10.1 2008-07-16 SWISS::CCs(3pm)