EnglishFrenchSpanish

OnWorks favicon

wrap-and-sort - Online in the Cloud

Run wrap-and-sort in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command wrap-and-sort 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


wrap-and-sort - wrap long lines and sort items in Debian packaging files

SYNOPSIS


wrap-and-sort [options]

DESCRIPTION


wrap-and-sort wraps the package lists in Debian control files. By default the lists will
only split into multiple lines if the entries are longer than the maximum line length
limit of 79 characters. wrap-and-sort sorts the package lists in Debian control files and
all .dirs, .docs, .examples, .info, .install, .links, .maintscript, and .manpages files.
Beside that wrap-and-sort removes trailing spaces in these files.

This script should be run in the root of a Debian package tree. It searches for control,
control*.in, copyright, copyright.in, install, and *.install in the debian directory.

OPTIONS


-h, --help
Show this help message and exit.

-a, --wrap-always
Wrap all package lists in the Debian control file even if they do not exceed the
line length limit and could fit in one line.

-s, --short-indent
Only indent wrapped lines by one space (default is in-line with the field name).

-b, --sort-binary-packages
Sort binary package paragraphs by name.

-k, --keep-first
When sorting binary package paragraphs, leave the first one at the top.
Unqualified debhelper(7) configuration files are applied to the first package.

-n, --no-cleanup
Do not remove trailing whitespaces.

-t, --trailing-comma
Add a trailing comma at the end of the sorted fields. This minimizes future
differences in the VCS commits when additional dependencies are appended or
removed.

-d path, --debian-directory=path
Location of the debian directory (default: ./debian).

-f file, --file=file
Wrap and sort only the specified file. You can specify this parameter multiple
times. All supported files will be processed if no files are specified.

-v, --verbose
Print all files that are touched.

--max-line-length=max_line_length
Set the maximum allowed line length. Package lists in the Debian control file that
exceed this length limit will be wrapped. The default maximum line length is 79
characters.

AUTHORS


wrap-and-sort and this manpage have been written by Benjamin Drung <[email protected]>.

Both are released under the ISC license.

Use wrap-and-sort online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • More »

Linux commands

Ad