1 Commits

Author SHA1 Message Date
112e576850 Updated README.md
Added descriptions of utils
2022-11-14 17:17:02 +00:00
6 changed files with 29 additions and 5 deletions

View File

@@ -1,3 +1,27 @@
# miscutils # miscutils
Miscellaneous UNIX utilities. Miscellaneous UNIX utilities.
## bwrap
Wrap text received in stdin as if it was a single line. Indicate breaks with the ":" charater at both ends.
## hppt
Reformat stdin as a horizontal paper tape.
## mkgmap
Generates a simple Gophermap in its standard output, listing all text files in the current directory
in reverse alphabetical order.
## newp
Creates a new ms phlog post. The file name will contain the current date and word separated by dashes.
## rot
Visually rotate stdin 90 degrees counter clockwise, swapping rows and columns.
## rr
Run a command repeteadly until it fails.
## scmfmt
Format stdin to use as a commit message
## ts
Runs the shell tests passed as arguments.
## unpage
Removes all page headers and footers from stdin, getting as result output that contains a single continuous page.
## upcasetl
Takes an ms troff document in stdin, and outputs to its stdout the same document
with all `.tl` and `.sh` converted to uppercase.

View File

@@ -8,7 +8,7 @@
.Nm .Nm
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
Generates a simple Gophermap in its standard output, generates a simple Gophermap in its standard output,
listing all text files in the current directory listing all text files in the current directory
in reverse alphabetical order. in reverse alphabetical order.
.Pp .Pp

2
newp.1
View File

@@ -9,7 +9,7 @@
.Ar word ... .Ar word ...
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
Creates a new ms phlog post. creates a new ms phlog post.
The file name will contain the current date and The file name will contain the current date and
.Ar word ... .Ar word ...
separated by dashes. separated by dashes.

2
ts.1
View File

@@ -10,7 +10,7 @@
.Ar test ... .Ar test ...
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
Runs the shell tests passed as arguments. runs the shell tests passed as arguments.
If the If the
.Fl b .Fl b
flag is specified, the test is blessed \(em i.e. it is evaluated and the test flag is specified, the test is blessed \(em i.e. it is evaluated and the test

View File

@@ -8,7 +8,7 @@
.Nm .Nm
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
Removes all page headers and footers from stdin, removes all page headers and footers from stdin,
getting as result output that contains a single continuous page. getting as result output that contains a single continuous page.
.Pp .Pp
This command expects its input to be the result of processing an ms document This command expects its input to be the result of processing an ms document

View File

@@ -8,7 +8,7 @@
.Nm .Nm
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
Takes an ms troff document in stdin, takes an ms troff document in stdin,
and outputs to its stdout the same document and outputs to its stdout the same document
with all with all
.Qq .TL .Qq .TL