#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    1
    Rep Power
    0

    Comparing files and list out the different value in output


    Dear all.
    Sorry to interrupt, but I do have no idea about this
    I am new developer in linux system
    so I would like you guys could give me a hand

    Thanks

    ok the question is
    Example
    a.txt > cat, dog, human, apple


    b.txt > cat apple


    comparing with a.txt and b.txt ………dog and human is missing on b.txt .. the output result list out : dog , humen … since b.txt is missing as comparing with a.txt

    How can i develop ?


    Thank you very much
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,453
    Rep Power
    4539
    man diff
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester

IMN logo majestic logo threadwatch logo seochat tools logo