man: created dos-var manual
This commit is contained in:
parent
e59907d81e
commit
90979cb411
1 changed files with 36 additions and 0 deletions
36
man/dos-var.1
Normal file
36
man/dos-var.1
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
.Dd $Mdocdate$
|
||||||
|
.Dt DOS-VAR 1
|
||||||
|
.Os
|
||||||
|
.Sh NAME
|
||||||
|
.Nm dos-var
|
||||||
|
.Nd gets DOS environment variables from WSL
|
||||||
|
.Sh SYNOPSIS
|
||||||
|
.Nm
|
||||||
|
.Op Fl p
|
||||||
|
.Ar variable
|
||||||
|
.Sh
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
The
|
||||||
|
.Nm
|
||||||
|
utility gets a DOS environment variable from within WSL. It can also convert paths to UNIX.
|
||||||
|
.Bl -tag -width Ds
|
||||||
|
.It Fl p , Fl -path
|
||||||
|
The target DOS variable contains a path, and will be converted.
|
||||||
|
.It Ar variable
|
||||||
|
The name of the target DOS variable.
|
||||||
|
.El
|
||||||
|
.Sh EXIT STATUS
|
||||||
|
.Bl -tag -width Ds
|
||||||
|
.It 1
|
||||||
|
The target variable is empty.
|
||||||
|
.It 2
|
||||||
|
No target variable was provided.
|
||||||
|
.El
|
||||||
|
.Sh EXAMPLES
|
||||||
|
Navigate to the Windows user directory:
|
||||||
|
.Pp
|
||||||
|
.Dl $ cd `dos-var -p USERPROFILE`
|
||||||
|
.Pp
|
||||||
|
.Sh Authors
|
||||||
|
.An -nosplit
|
||||||
|
.An Valerie Wolfe Aq Mt sleeplessval@gmail.com
|
Loading…
Reference in a new issue