Posted by Anonymous Wed 21st Mar 2007 15:37 - Syntax is Perl - 21 views
Download | New Post | Modify | Hide line numbers
  1. strace -f -o /tmp/ ./configure
  2.        # or make instead of ./configure, if the package doesn't use autoconf
  3.        for x in `dpkg -S $( /tmp/log|\
  4.                            perl -pe 's!.* open\(\"([^\"]*).*!$1!' |\
  5.                             "^/"| | uniq|\
  6.                             -v "^\(/tmp\|/dev\|/proc\)" ) 2>/dev/null|\
  7.                            cut -f1 -d":"| | uniq`; \
  8.              do \
  9.                echo -n "$x (>=" `dpkg - $x|grep ^Version|cut -f2 -d":"` "), "; \
  10.              done

PermaLink to this entry https://pastebin.co.uk/12117
Posted by Anonymous Wed 21st Mar 2007 15:37 - Syntax is Perl - 21 views
Download | New Post | Modify | Hide line numbers

 

Comments: 0