Bag of Tricks

Pages

  • Home
  • About Us

Sunday, March 7, 2010

Comparing files with slight differences


File compile-test.log is an output of a big compile from a database named TEST, and file is stored in TEST subdirectory.


File compile-prod.log is output of a big compile from a database named PROD, file is stored in PROD subdirectory.



diff PROD/compile-prod.log <(sed 's/TEST/PROD/g' ../TEST/compile-test.log
Posted by Josh at Sunday, March 07, 2010

No comments:

Post a Comment

Newer Post Older Post Home
View mobile version
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2021 (1)
    • ►  March (1)
  • ►  2015 (2)
    • ►  May (1)
    • ►  February (1)
  • ►  2013 (1)
    • ►  December (1)
  • ►  2012 (4)
    • ►  March (1)
    • ►  February (2)
    • ►  January (1)
  • ►  2011 (21)
    • ►  December (1)
    • ►  August (2)
    • ►  July (4)
    • ►  June (4)
    • ►  May (3)
    • ►  March (2)
    • ►  February (5)
  • ▼  2010 (6)
    • ►  November (1)
    • ►  August (1)
    • ▼  March (3)
      • Now with syntax highlighting goodness
      • RMAN duplicate set until clause for variable dates
      • Comparing files with slight differences
    • ►  January (1)
  • ►  2009 (8)
    • ►  April (2)
    • ►  March (2)
    • ►  February (1)
    • ►  January (3)
  • ►  2008 (12)
    • ►  December (1)
    • ►  November (2)
    • ►  October (1)
    • ►  May (1)
    • ►  April (2)
    • ►  March (2)
    • ►  February (3)
  • ►  2007 (7)
    • ►  May (7)

Contributors

  • Bill
  • Josh
  • Matt
Powered by Blogger.