Perl Script Extracts Software Licenses

Dec 31, 2009

A tiny script from U.S. network specialist Scott Iekel-Johnson extracts software licenses from source code. The oss-license-extract tool is now available in version 1.2.

The program in its current version searches through files with "license" and "copying" in their names, C source code and header files, and shell, Python, perl, Tcl and PHP scripts. It then produces a report with all copyright notices, authors and employed licenses, while eliminating duplicates. Iekel-Johnson wrote his scripts for his employer Arbor Networks to give him an overview of licenses before applying them or using them in distros.

The oss-license-extract 1.2 perl script is itself under BSD license as a tarball ready for download.

Related content

  • Perl: Web Regression Test

    Testing complex web applications does not necessarily mean investing in expensive, proprietary tools such as Test Director or Silk Performer. Selenium is for free; it can remotely control any major browser, and it is programmable in Perl.

  • Perl: Reading GPS Data

    With a small GPS receiver on his wrist, Mike has been jogging through San Francisco neighborhoods. While catching his breath, safe at home, he visualizes the data he acquired while running with Perl.

  • Advisory Check 2.20 with More Feeds and HP-UX

    Advisory Check (advchk), a small tool for monitoring installed software security, is now available in version 2.20. It has extended its source feeds and is now supported on HP-UX.

  • Books
  • Perl: Microformats

    Microformats add generally accepted tags, such as social network connections or geodetic coordinates, to HTML pages. Automated scripts collect them and help represent the data in graphically appealing ways – for example, geodata for vacation destinations.

comments powered by Disqus

Issue 171/2015

Buy this issue as a PDF

Digital Issue: Price $9.99
(incl. VAT)