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: Shell Functions

    Perl gives you better shell scripts. Sysadm::Install, a new module from CPAN, helps shell addicts let go of Bash.

  • Koha Library System

    Information technology plays a key role in modern library environments. We check out Koha, an open source integrated system that can help manage a library’s daily operations.

  • 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.

  • PERL: MANAGING GIT

    How do you make sure the new laptop you just bought is populated with copies of all the Git repositories you use? Easy. By using a meta repository to maintain a list of projects and Perl scripts to automate discovery and cloning.

comments powered by Disqus

Issue 178/2015

Buy this issue as a PDF

Digital Issue: Price $9.99
(incl. VAT)

News