ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit c0c562007432beccc5f68049a0fe9c7a9b25d045
parent a966a8da7eda7ef6ba419fe1918cafb926f7cd59
Author: sin <sin@2f30.org>
Date:   Thu, 17 Oct 2013 11:41:04 +0100

Simplify manpages

Diffstat:
Mclear.1 | 9++++-----
Mdf.1 | 36+++++++++++++++++-------------------
Meject.1 | 31++++++++++++-------------------
Mhalt.1 | 29+++++++++++++----------------
Mlsmod.1 | 12+++++-------
Mlsusb.1 | 12+++++-------
6 files changed, 56 insertions(+), 73 deletions(-)

diff --git a/clear.1 b/clear.1 @@ -1,5 +1,4 @@ -.Dd October 16, 2013 -.Dt CLEAR 1 1 -.Os Linux -.Sh NAME -.Nm clear - clear the screen +.TH CLEAR 1 ubase\-VERSION +.OS Linux +.SH NAME +clear \- clear the screen diff --git a/df.1 b/df.1 @@ -1,26 +1,24 @@ -.Dd October 16, 2013 -.Dt DF 1 1 -.Os Linux -.Sh NAME -.Nm df -.Nd show file system usage -.Sh SYNOPSIS -.Nm df -.Op Fl ahis -.Sh DESCRIPTION +.TH DF 1 ubase\-VERSION +.OS Linux +.SH NAME +df \- show file system usage +.SH SYNOPSIS +.B df +.RB [ \-ahsi ] +.SH DESCRIPTION df displays the amount of disk space available on a file system. -.Pp If no arguments are given, df shows all the file systems using 512-byte blocks. -.Pp -The options are as follows: -.Bl -tag -width Ds -.It Fl a +.SH OPTIONS +.TP +.BI \-a Show all file systems including dummy ones. -.It Fl h +.TP +.BI \-h Not implemented. -.It Fl s +.TP +.BI \-s Not implemented. -.It Fl i +.TP +.BI \-i Not implemented. -.El diff --git a/eject.1 b/eject.1 @@ -1,21 +1,14 @@ -.Dd October 16, 2013 -.Dt EJECT 1 1 -.Os Linux -.Sh NAME -.Nm eject -.Nd eject removable media -.Sh SYNOPSIS -.Nm eject -.Op Fl t -.Sh DESCRIPTION +.TH EJECT 1 ubase\-VERSION +.OS Linux +.SH NAME +eject \- eject removable media +.SH SYNOPSIS +.B eject +.RB [ \-t ] +.SH DESCRIPTION eject allows the CD-ROM tray to be opened or closed under software -.br -control. -.Pp -If no arguments are given, the CD-ROM tray is opened. -.Pp -The options are as follows: -.Bl -tag -width Ds -.It Fl t +control. If no arguments are given, the CD-ROM tray is opened. +.SH OPTIONS +.TP +.BI \-t If supported, close the CD-ROM tray. -.El diff --git a/halt.1 b/halt.1 @@ -1,19 +1,16 @@ -.Dd October 17, 2013 -.Dt HALT 8 1 -.Os Linux -.Sh NAME -.Nm halt -.Nd Halt, power-off or reboot the machine -.Sh SYNOPSIS -.Nm halt -.Op Fl pr -.Sh DESCRIPTION +.TH HALT 8 ubase\-VERSION +.OS Linux +.SH NAME +halt \- Halt, power-off or reboot the machine +.SH SYNOPSIS +.B halt +.RB [ \-pr ] +.SH DESCRIPTION halt can be used to halt, power-off or reboot the machine. -.Pp -The options are as follows: -.Bl -tag -width Ds -.It Fl p +.SH OPTIONS +.TP +.BI \-p power-off the machine. -.It Fl r +.TP +.BI \-r reboot the machine. -.El diff --git a/lsmod.1 b/lsmod.1 @@ -1,9 +1,7 @@ -.Dd October 16, 2013 -.Dt lsmod 8 1 -.Os Linux -.Sh NAME -.Nm lsmod -.Nd list loaded kernel modules -.Sh DESCRIPTION +.TH lsmod 8 sbase\-VERSION +.OS Linux +.SH NAME +lsmod \- list loaded kernel modules +.SH DESCRIPTION lsmod parses `/proc/modules' and shows the loadable kernel modules that are currently loaded. diff --git a/lsusb.1 b/lsusb.1 @@ -1,9 +1,7 @@ -.Dd October 16, 2013 -.Dt LSUSB 8 1 -.Os Linux -.Sh NAME -.Nm lsusb -.Nd list USB devices -.Sh DESCRIPTION +.TH LSUSB 8 ubase\-VERSION +.OS Linux +.SH NAME +lsusb \- list USB devices +.SH DESCRIPTION lsusb searches in `/sys/bus/usb/devices' for usb buses and connected devices and prints them one by one.