man: created 'hug' manual

This commit is contained in:
Valerie Wolfe 2024-07-15 14:00:02 -04:00
parent baacf638e7
commit 5589490fe2
2 changed files with 26 additions and 1 deletions

View file

@ -15,7 +15,7 @@ shells. The utility runs in WSL, and companion scripts run in Windows.
## `hug`
A wrapper for turning binary-output text into normal text.
A barebones command wrapper for turning binary-output text into normal text.
## `mkwin`

25
man/hug.1 Normal file
View file

@ -0,0 +1,25 @@
.Dd $Mdocdate$
.Dt HUG 1
.Os WSL
.Sh NAME
.Nm hug
.Nd wraps processes and converts binary output to text
.Sh SYNOPSIS
.Nm
.Ar target
.Op Ar args...
.Sh DESCRIPTION
The
.Nm
utility runs a process and emits bytes from standard output to text.
.Sh EXAMPLES
WSL's help text is output as binary content, preventing piping to utilities like
.Xr less 1
or
.Xr bat 1 :
.Pp
.Dl $ hug wsl --help | less
.Pp
.Sh Authors
.An -nosplit
.An Valerie Wolfe Aq Mt sleeplessval@gmail.com