EnglishFrenchSpanish

OnWorks favicon

notice - Online in the Cloud

Run notice in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command notice that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


notice - a utility for writing license notices to source files.

SYNOPSIS


notice [OPTION...] [FILE...]

DESCRIPTION


The notice command is a simple way to add a boilerplate to a set of source-code files. It
is a wrapper script for the licensing program.

EXAMPLES


The notice command is most often used like so:

$ licensing notice -c 'Yoyo, Inc. 2001' -l gpl -s c -n *.[ch]
apply: foo.c -> Boilerplate applied.
apply: bar.c -> Boilerplate applied.
apply: qux.c -> Boilerplate applied.
apply: foo.h -> Boilerplate applied.

This example applies the license notice for the latest version of the GPL in the C-
commenting style to all of the .c and .h files in the current directory. The copyright
holder is Yoyo, Inc, in the year 2001.

OPTIONS


-n Don't retain .bak backup files.

-c NAME-AND-YEAR
Specify the copyright holder and years. The syntax for copyright years allows for
years separated by a comma, and also ranges of years separated by a hyphen. In
most shells, the argument for this option must be enclosed in single quotes.

-l LICENSE
Specify the license notice to apply to the source-code files. The supported
licenses are: gpl, gplv3+, gplv3, gplv2+, gplv2, gplv1+, gplv1, lgpl, lgplv3+,
lgplv3, lgplv2+, lgplv2, lgplv1+, lgplv1, agpl, agplv3+, agplv3, fdl, fdlv13+,
fdlv13, fdlv12+, fdlv12, fdlv11+, fdlv11, all-permissive, bsd, bsd3clause,
bsd2clause, apache, apachev2, mit, isc, and openbsd.

-s COMMENTING-STYLE
Specify the commenting style. The supported commenting styles are: c, c++, shell,
scheme, texinfo, m4, haskell, groff, gettext, fortran, and pascal.

-?, --help
Give a list the available options.

REPORTING BUGS


Report bugs to <https://sv.nongnu.org/bugs/?group=licenseutils>.

Use notice online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad