Commit 89f4d7e9 authored by Laurent Bachelier's avatar Laurent Bachelier 🐧

Tell groff manpages are utf-8

This should fix the display of manpages with accents (mainly boobank).
parent a6fbcbae
.TH BOOBANK 1 "13 February 2013" "boobank 0\&.f"
.\" -*- coding: utf-8 -*-
.TH BOOBANK 1 "09 March 2013" "boobank 0\&.f"
.SH NAME
boobank \- manage bank accounts
.SH SYNOPSIS
......@@ -264,8 +265,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (account_list, csv, htmltable, multiline, ops_list,
pretty_qif, qif, recipient_list, simple, table, transfer, webkit)
select output formatter (account_list, csv, htmltable, json, multiline,
ops_list, pretty_qif, qif, recipient_list, simple, table, transfer, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH BOOBATHON 1 "13 February 2013" "boobathon 0\&.f"
.\" -*- coding: utf-8 -*-
.TH BOOBATHON 1 "09 March 2013" "boobathon 0\&.f"
.SH NAME
boobathon \- participate in a Boobathon
.SH SYNOPSIS
......@@ -248,7 +249,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, webkit)
select output formatter (csv, htmltable, json, multiline, simple, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH BOOBILL 1 "13 February 2013" "boobill 0\&.f"
.\" -*- coding: utf-8 -*-
.TH BOOBILL 1 "09 March 2013" "boobill 0\&.f"
.SH NAME
boobill \- get and download bills
.SH SYNOPSIS
......@@ -246,7 +247,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, subscriptions,
select output formatter (csv, htmltable, json, multiline, simple, subscriptions,
table, webkit)
.TP
\fB\-\-no\-header\fR
......
.TH BOOBMSG 1 "13 February 2013" "boobmsg 0\&.f"
.\" -*- coding: utf-8 -*-
.TH BOOBMSG 1 "09 March 2013" "boobmsg 0\&.f"
.SH NAME
boobmsg \- send and receive message threads
.SH SYNOPSIS
......@@ -268,8 +269,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (atom, csv, htmltable, msg, msglist, multiline, profile,
simple, table, webkit, xhtml)
select output formatter (atom, csv, htmltable, json, msg, msglist, multiline,
profile, simple, table, webkit, xhtml)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH BOOBOOKS 1 "13 February 2013" "boobooks 0\&.f"
.\" -*- coding: utf-8 -*-
.TH BOOBOOKS 1 "09 March 2013" "boobooks 0\&.f"
.SH NAME
boobooks \- manage rented books
.SH SYNOPSIS
......@@ -196,8 +197,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, rented_list, simple, table,
webkit)
select output formatter (csv, htmltable, json, multiline, rented_list, simple,
table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH BOOBTRACKER 1 "13 February 2013" "boobtracker 0\&.f"
.\" -*- coding: utf-8 -*-
.TH BOOBTRACKER 1 "09 March 2013" "boobtracker 0\&.f"
.SH NAME
boobtracker \- manage bug tracking issues
.SH SYNOPSIS
......@@ -278,8 +279,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, issue_info, issues_list, multiline,
simple, table, webkit)
select output formatter (csv, htmltable, issue_info, issues_list, json,
multiline, simple, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH COMPAROOB 1 "13 February 2013" "comparoob 0\&.f"
.\" -*- coding: utf-8 -*-
.TH COMPAROOB 1 "09 March 2013" "comparoob 0\&.f"
.SH NAME
comparoob \- compare products
.SH SYNOPSIS
......@@ -194,7 +195,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, price, prices, simple,
select output formatter (csv, htmltable, json, multiline, price, prices, simple,
table, webkit)
.TP
\fB\-\-no\-header\fR
......
.TH FLATBOOB 1 "13 February 2013" "flatboob 0\&.f"
.\" -*- coding: utf-8 -*-
.TH FLATBOOB 1 "09 March 2013" "flatboob 0\&.f"
.SH NAME
flatboob \- search for housing
.SH SYNOPSIS
......@@ -196,7 +197,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, housing, housing_list, htmltable, multiline,
select output formatter (csv, housing, housing_list, htmltable, json, multiline,
simple, table, webkit)
.TP
\fB\-\-no\-header\fR
......
.TH GALLEROOB 1 "13 February 2013" "galleroob 0\&.f"
.\" -*- coding: utf-8 -*-
.TH GALLEROOB 1 "09 March 2013" "galleroob 0\&.f"
.SH NAME
galleroob \- browse and download web image galleries
.SH SYNOPSIS
......@@ -222,8 +223,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, gallery_list, htmltable, multiline, simple, table,
webkit)
select output formatter (csv, gallery_list, htmltable, json, multiline, simple,
table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH GEOLOOC 1 "13 February 2013" "geolooc 0\&.f"
.\" -*- coding: utf-8 -*-
.TH GEOLOOC 1 "09 March 2013" "geolooc 0\&.f"
.SH NAME
geolooc \- geolocalize IP addresses
.SH SYNOPSIS
......@@ -191,7 +192,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, webkit)
select output formatter (csv, htmltable, json, multiline, simple, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH HAVEDATE 1 "13 February 2013" "havedate 0\&.f"
.\" -*- coding: utf-8 -*-
.TH HAVEDATE 1 "09 March 2013" "havedate 0\&.f"
.SH NAME
havedate \- interact with dating websites
.SH SYNOPSIS
......@@ -264,8 +265,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (atom, csv, events, htmltable, msg, msglist, multiline,
profile, simple, table, webkit, xhtml)
select output formatter (atom, csv, events, htmltable, json, msg, msglist,
multiline, profile, simple, table, webkit, xhtml)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH MASSTRANSIT 1 "13 February 2013" "masstransit 0\&.f"
.\" -*- coding: utf-8 -*-
.TH MASSTRANSIT 1 "09 March 2013" "masstransit 0\&.f"
.SH NAME
masstransit \- search for train stations and departures
.SH SYNOPSIS
......
.TH MONBOOB 1 "13 February 2013" "monboob 0\&.f"
.\" -*- coding: utf-8 -*-
.TH MONBOOB 1 "09 March 2013" "monboob 0\&.f"
.SH NAME
monboob \- daemon to send and check messages
.SH SYNOPSIS
......@@ -114,7 +115,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, webkit)
select output formatter (csv, htmltable, json, multiline, simple, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH PASTOOB 1 "13 February 2013" "pastoob 0\&.f"
.\" -*- coding: utf-8 -*-
.TH PASTOOB 1 "09 March 2013" "pastoob 0\&.f"
.SH NAME
pastoob \- post and get pastes from pastebins
.SH SYNOPSIS
......@@ -213,7 +214,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, webkit)
select output formatter (csv, htmltable, json, multiline, simple, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH QBOOBMSG 1 "13 February 2013" "qboobmsg 0\&.f"
.\" -*- coding: utf-8 -*-
.TH QBOOBMSG 1 "09 March 2013" "qboobmsg 0\&.f"
.SH NAME
qboobmsg \- send and receive message threads
.SH SYNOPSIS
......
.TH QFLATBOOB 1 "13 February 2013" "qflatboob 0\&.f"
.\" -*- coding: utf-8 -*-
.TH QFLATBOOB 1 "09 March 2013" "qflatboob 0\&.f"
.SH NAME
qflatboob \- search for housing
.SH SYNOPSIS
......
.TH QHAVEDATE 1 "13 February 2013" "qhavedate 0\&.f"
.\" -*- coding: utf-8 -*-
.TH QHAVEDATE 1 "09 March 2013" "qhavedate 0\&.f"
.SH NAME
qhavedate \- interact with dating websites
.SH SYNOPSIS
......
.TH QVIDEOOB 1 "13 February 2013" "qvideoob 0\&.f"
.\" -*- coding: utf-8 -*-
.TH QVIDEOOB 1 "09 March 2013" "qvideoob 0\&.f"
.SH NAME
qvideoob \- search and play videos
.SH SYNOPSIS
......
.TH QWEBCONTENTEDIT 1 "13 February 2013" "qwebcontentedit 0\&.f"
.\" -*- coding: utf-8 -*-
.TH QWEBCONTENTEDIT 1 "09 March 2013" "qwebcontentedit 0\&.f"
.SH NAME
qwebcontentedit \- manage websites content
.SH SYNOPSIS
......
.TH RADIOOB 1 "13 February 2013" "radioob 0\&.f"
.\" -*- coding: utf-8 -*-
.TH RADIOOB 1 "09 March 2013" "radioob 0\&.f"
.SH NAME
radioob \- search, show or listen to radio stations
.SH SYNOPSIS
......@@ -208,8 +209,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, radio_list, simple, table,
webkit)
select output formatter (csv, htmltable, json, multiline, radio_list, simple,
table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH SUBOOB 1 "22 February 2013" "weboorrents 0\&.f"
.\" -*- coding: utf-8 -*-
.TH SUBOOB 1 "09 March 2013" "suboob 0\&.f"
.SH NAME
suboob \- search and download subtitles
.SH SYNOPSIS
......@@ -11,16 +12,19 @@ suboob \- search and download subtitles
.SH DESCRIPTION
.LP
Console application allowing to search for subtitles on various websites and download them.
Console application allowing to search for subtitles on various services and download them.
.SS Supported websites:
* attilasub (Attila' s Website 2.0 french subtitles)
* attilasub ("Attila s Website 2.0" french subtitles)
.br
* opensubtitles (Opensubtitles subtitle website)
.br
* tvsubtitles (Tvsubtitles subtitle website)
.SH SUBOOB COMMANDS
.TP
\fBgetfile\fR \fIID\fR [\fIFILENAME\fR]
.br
Get the subtitle file.
Get the subtitle or archive file.
.br
FILENAME is where to write the file. If FILENAME is '\-',
.br
......@@ -30,7 +34,7 @@ the file is written to stdout.
.br
Get information about a subtitle.
.TP
\fBsearch\fR [\fIPATTERN\fR]
\fBsearch\fR language [\fIPATTERN\fR]
.br
Search subtitles.
.SH WEBOOB COMMANDS
......@@ -207,8 +211,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, torrent_info,
torrent_list, webkit)
select output formatter (csv, htmltable, json, multiline, simple, subtitle_info,
subtitle_list, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......@@ -220,7 +224,7 @@ do not display item keys
file to export result
.SH COPYRIGHT
Copyright(C) 2010-2012 Romain Bignon
Copyright(C) 2010-2012 Julien Veyssier
.LP
For full COPYRIGHT see COPYING file with weboob package.
.LP
......@@ -229,4 +233,4 @@ For full COPYRIGHT see COPYING file with weboob package.
"~/.config/weboob/backends"
.SH SEE ALSO
Home page: http://weboob.org/applications/weboorrents
Home page: http://weboob.org/applications/suboob
.TH TRANSLABOOB 1 "13 February 2013" "translaboob 0\&.f"
.\" -*- coding: utf-8 -*-
.TH TRANSLABOOB 1 "09 March 2013" "translaboob 0\&.f"
.SH NAME
translaboob \- translate text from one language to another
.SH SYNOPSIS
......@@ -244,8 +245,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, translation,
webkit, xmltrans)
select output formatter (csv, htmltable, json, multiline, simple, table,
translation, webkit, xmltrans)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH TRAVELOOB 1 "13 February 2013" "traveloob 0\&.f"
.\" -*- coding: utf-8 -*-
.TH TRAVELOOB 1 "09 March 2013" "traveloob 0\&.f"
.SH NAME
traveloob \- search for train stations and departures
.SH SYNOPSIS
......@@ -228,7 +229,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, webkit)
select output formatter (csv, htmltable, json, multiline, simple, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH VIDEOOB 1 "13 February 2013" "videoob 0\&.f"
.\" -*- coding: utf-8 -*-
.TH VIDEOOB 1 "09 March 2013" "videoob 0\&.f"
.SH NAME
videoob \- search and play videos
.SH SYNOPSIS
......@@ -242,8 +243,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, video_list,
webkit)
select output formatter (csv, htmltable, json, multiline, simple, table,
video_list, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH WEBCONTENTEDIT 1 "13 February 2013" "webcontentedit 0\&.f"
.\" -*- coding: utf-8 -*-
.TH WEBCONTENTEDIT 1 "09 March 2013" "webcontentedit 0\&.f"
.SH NAME
webcontentedit \- manage websites content
.SH SYNOPSIS
......@@ -202,7 +203,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, webkit)
select output formatter (csv, htmltable, json, multiline, simple, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH WEBOOB-CLI 1 "13 February 2013" "weboob-cli 0\&.f"
.\" -*- coding: utf-8 -*-
.TH WEBOOB-CLI 1 "09 March 2013" "weboob-cli 0\&.f"
.SH NAME
weboob-cli \- call a method on backends
.SH SYNOPSIS
......@@ -62,7 +63,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, webkit)
select output formatter (csv, htmltable, json, multiline, simple, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH WEBOOB-CONFIG-QT 1 "13 February 2013" "weboob-config-qt 0\&.f"
.\" -*- coding: utf-8 -*-
.TH WEBOOB-CONFIG-QT 1 "09 March 2013" "weboob-config-qt 0\&.f"
.SH NAME
weboob-config-qt \- manage backends or register new accounts
.SH SYNOPSIS
......
.TH WEBOOB-CONFIG 1 "13 February 2013" "weboob-config 0\&.f"
.\" -*- coding: utf-8 -*-
.TH WEBOOB-CONFIG 1 "09 March 2013" "weboob-config 0\&.f"
.SH NAME
weboob-config \- manage backends or register new accounts
.SH SYNOPSIS
......@@ -145,7 +146,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, webkit)
select output formatter (csv, htmltable, json, multiline, simple, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH WEBOOB-DEBUG 1 "13 February 2013" "weboob-debug 0\&.f"
.\" -*- coding: utf-8 -*-
.TH WEBOOB-DEBUG 1 "09 March 2013" "weboob-debug 0\&.f"
.SH NAME
weboob-debug \- debug backends
.SH SYNOPSIS
......
.TH WEBOOB-REPOS 1 "13 February 2013" "weboob-repos 0\&.f"
.\" -*- coding: utf-8 -*-
.TH WEBOOB-REPOS 1 "09 March 2013" "weboob-repos 0\&.f"
.SH NAME
weboob-repos \- manage a weboob repository
.SH SYNOPSIS
......@@ -105,7 +106,7 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, webkit)
select output formatter (csv, htmltable, json, multiline, simple, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH WEBOORRENTS 1 "13 February 2013" "weboorrents 0\&.f"
.\" -*- coding: utf-8 -*-
.TH WEBOORRENTS 1 "09 March 2013" "weboorrents 0\&.f"
.SH NAME
weboorrents \- search and download torrents
.SH SYNOPSIS
......@@ -14,6 +15,8 @@ weboorrents \- search and download torrents
Console application allowing to search for torrents on various trackers and download .torrent files.
.SS Supported websites:
* btmon (Btmon BitTorrent tracker)
.br
* gazelle (Gazelle\-based BitTorrent trackers)
.br
* isohunt (isoHunt BitTorrent tracker)
......@@ -212,8 +215,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, multiline, simple, table, torrent_info,
torrent_list, webkit)
select output formatter (csv, htmltable, json, multiline, simple, table,
torrent_info, torrent_list, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
.TH WETBOOBS 1 "13 February 2013" "wetboobs 0\&.f"
.\" -*- coding: utf-8 -*-
.TH WETBOOBS 1 "09 March 2013" "wetboobs 0\&.f"
.SH NAME
wetboobs \- display weather and forecasts
.SH SYNOPSIS
......@@ -216,8 +217,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (cities, csv, current, forecasts, htmltable, multiline,
simple, table, webkit)
select output formatter (cities, csv, current, forecasts, htmltable, json,
multiline, simple, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
......
......@@ -161,6 +161,7 @@ def analyze_application(app, script_name):
cmd_re = re.compile(r'^.+ Commands:$', re.MULTILINE)
helptext = re.sub(cmd_re, format_title, helptext)
helptext = helptext.replace("-", r"\-")
coding = r'.\" -*- coding: utf-8 -*-'
header = '.TH %s 1 "%s" "%s %s"' % (script_name.upper(), time.strftime("%d %B %Y"),
script_name, app.VERSION.replace('.', '\\&.'))
name = ".SH NAME\n%s \- %s" % (script_name, application.SHORT_DESCRIPTION)
......@@ -178,7 +179,7 @@ For full COPYRIGHT see COPYING file with weboob package.
# Skip internal applications.
footer += "\n\n.SH SEE ALSO\nHome page: http://weboob.org/applications/%s" % application.APPNAME
mantext = u"%s\n%s\n%s\n%s" % (header, name, helptext, footer)
mantext = u"%s\n%s\n%s\n%s\n%s" % (coding, header, name, helptext, footer)
with open(os.path.join(BASE_PATH, DEST_DIR, "%s.1" % script_name), 'w+') as manfile:
for line in mantext.split('\n'):
manfile.write('%s\n' % line.lstrip().encode('utf-8'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment