As much as I'd like to help, I can't, same as I couldn't with your last, almost identical request. How should lines be compared? Based on line No.? On item (city? phone?)? What should the output look like? What if file2's entry is identical to file1's but different to file3's?
Please be way more specific!
What have you tried so far?
---------- Post updated at 19:39 ---------- Previous update was at 19:23 ----------
Not sure if this will meet your desired result:
But: this is based on some assumptions and it is not too robust...
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)
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)
Hi Masters,
I have two files named file1 and file2.
Both the files contains the same contents with some difference in comments,space.But no content change.
I tried to find the diff between the two files to make sure that contents are same.
For that i tried
diff -ibw file1 file2
But... (1 Reply)
Hi,
I have 2 files.I want to check if file1 is contained in file2.
A.txt:
-----
AAA
BBB
B.txt:
------
CCC
AAA
BBB
DDD
I want to check if A.txt is contained in B.txt. Can it be done using SED ? (12 Replies)
Hi All,
I have two files which look as below
File1
serial="1" name="abc" type="employee" field="IT"
serial="2" name="cde" type="intern" field="Marketing"
serial="3" name="pqr" type="contractor" field="IT"
serial="4" name="xyz" type="employee" field="Sales"
File2
serial="1"... (3 Replies)
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)
Hi Experts,
Can you please help me in transposing Datefield from rows to column and calculate the time difference for each of the Jobids:
Input File:
08/23/2012 12:36:09,JOB_5340
08/23/2012 12:36:14,JOB_5340
08/23/2012 12:36:22,JOB_5350
08/23/2012 12:36:26,JOB_5350
Required Output:... (6 Replies)
Dear All
I want to diff between two time(FIRST 4 COLUMN) in hours in last column. Kindly help me for same.
2013-11-23 15:51:23 2013-11-23 12:20:06 BRC023 CG
2013-11-23 15:51:23 2013-11-23 12:20:08 BRC064CG
2013-11-23 15:51:23 2013-11-22 13:17:49 BLM003 NG
2013-11-23 15:51:23 2013-11-22... (9 Replies)
Discussion started by: jaydeep_sadaria
9 Replies
LEARN ABOUT DEBIAN
mojomojo::controller::admin
MojoMojo::Controller::Admin(3pm) User Contributed Perl Documentation MojoMojo::Controller::Admin(3pm)NAME
MojoMojo::Controller::Admin - Site Administration
DESCRIPTION
Action to handle management of MojoMojo. Click the admin link at the bottom of the page while logged in as admin to access these functions.
METHODS
auto
Access control. Only administrators should access functions in this controller.
settings ( /.admin )
Show settings screen.
user ( .admin/user )
User listing with pager, for enabling/disabling users.
role ( .admin/role )
Role listing, creation and assignment.
create_role ( .admin/create_role )
Role creation page.
edit_role ( .admin/role/ )
Role edit page.
handle_role_form
Handle role form processing. Returns true when a submitted form was actually processed.
update_user ( *private*)
Update user based on user listing.
precompile_pages
Make a formatted version of content body and store it in content.precompiled. This makes MojoMojo go zing, when loading content for page
requests.
Depending on the number of pages, and versions of them, this could take some minutes. For 2000 page versions on a 2.4 GHz desktop this
script took about 3 minutes to run.
delete
Delete a page and its descendants. This is in MojoMojo::Controller::Admin because we are restricting page deletion to admins only for the
time being.
TODO: this method should reside in the Model, not in a Controller (issue #87).
AUTHOR
Marcus Ramberg <mramberg@cpan.org>
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-09-02 MojoMojo::Controller::Admin(3pm)