LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   diff: no similaritesi only differneces (https://www.linuxquestions.org/questions/linux-newbie-8/diff-no-similaritesi-only-differneces-472737/)

ashlesha 08-10-2006 04:53 PM

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.

gilead 08-10-2006 07:56 PM

Can you post a sample from each file (and the diff output) so that we can see what might be causing the problem?

ashlesha 08-10-2006 08:07 PM

> 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;


All times are GMT -5. The time now is 08:21 PM.