LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2006, 05:53 PM   #1
ashlesha
Member
 
Registered: May 2005
Location: PA
Distribution: Ubuntu
Posts: 204

Rep: Reputation: 30
Question diff: no similaritesi only differneces


hi,

i want to compare 2 files such that only the differences between the 2 files (i.e. uncommon lines) are shown..

i used the diff command, but i still get the same lines repeated many times, despite having used options such as: ignore case, blank spaces etc..

any pointers?

Thanks,
Ashlesha.
 
Old 08-10-2006, 08:56 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
Can you post a sample from each file (and the diff output) so that we can see what might be causing the problem?
 
Old 08-10-2006, 09:07 PM   #3
ashlesha
Member
 
Registered: May 2005
Location: PA
Distribution: Ubuntu
Posts: 204

Original Poster
Rep: Reputation: 30
> static void __init init_dma_via82cxxx(ide_hwif_t *hwif, unsigned long dmabase)
> {
> if ((via_enabled >> hwif->channel) & 1)
> ide_setup_dma(hwif, dmabase, 8);
> }
>
> extern void ide_setup_pci_device(struct pci_dev *, ide_pci_device_t *);
631c633,638
< return ide_setup_pci_device(dev, &via82cxxx_chipset);
---
> ide_pci_device_t *d = &via82cxxx_chipsets[id->driver_data];
> if (dev->device != d->device)
> BUG();
> ide_setup_pci_device(dev, d);
> MOD_INC_USE_COUNT;
> return 0;
634c641
< static struct pci_device_id via_pci_tbl[] = {
---
> static struct pci_device_id via_pci_tbl[] __devinitdata = {
636c643
< { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
---
> { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
639d645
< MODULE_DEVICE_TABLE(pci, via_pci_tbl);
642c648
< .name = "VIA_IDE",
---
> .name = "VIA IDE",
651a658,662
> static void via_ide_exit(void)
> {
> ide_pci_unregister_driver(&driver);
> }
>
652a664
> module_exit(via_ide_exit);
656a669,670
>
> EXPORT_NO_SYMBOLS;
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the diff between / and // stardotstar Linux - Newbie 1 09-30-2004 02:02 AM
Dual Boot diff Hard Disk diff OS on Suse 9.1 wilhem Linux - Newbie 1 08-13-2004 07:06 PM
So, What's the diff.? The Manic Mouse Linux - Distributions 3 03-19-2004 08:38 AM
What a Diff! perry General 0 12-05-2003 08:10 PM
what is the diff safrout Linux From Scratch 2 05-27-2002 08:20 AM


All times are GMT -5. The time now is 06:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration