Poster of Linux kernelThe best gift for a Linux geek
WRAP-AND-SORT

WRAP-AND-SORT

Section: User Commands (1) Updated: September 2010
Local index Up
 

NAME

wrap-and-sort - wrap long lines and sort items in 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 80 characters. wrap-and-sort sorts the package lists in Debian control files and all .install 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 the entries are shorter than 80 characters and could fit in one line 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
-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

 

AUTHORS

wrap-and-sort and this manpage has been written by Benjamin Drung <bdrung@ubuntu.com>.

Both are released under the ISC license.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
AUTHORS

This document was created by man2html, using the manual pages.
Time: 21:27:02 GMT, April 16, 2011