-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c8165f
commit 2965238
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.TH sfn 7 "April 2024" "Version 1.0.2" | ||
.SH NAME | ||
sfn \- convert a string into an 8.3 Short FileName | ||
.SH SYNOPSIS | ||
.B sfn | ||
.I <string> | ||
.SH DESCRIPTION | ||
.B sfn | ||
recieves a string from the command-line, one that represents | ||
a hypothetical, real-or-not filename, and shortens it to fit | ||
an specific 8.3 schema. In this 8.3 schema, all non-alphabetical | ||
characters save for the period are deleted, including numbers and | ||
special characters. The filename sans extension is shortened so that | ||
it does not exceed 8 characters, and the extension is also | ||
shortened so that it does not exceed 3 characters. | ||
.PP | ||
If the given string lacks an extension, | ||
.B sfn | ||
automatically appends an extension "TMP" onto the result. | ||
.PP | ||
A string representing a path is not recommended as input. | ||
.PP | ||
.B sfn | ||
is invokable through the terminal. | ||
.SH OPTIONS | ||
.IP "<string>" | ||
The given string to be converted. | ||
.SH BUGS | ||
No known bugs | ||
.SH AUTHORS | ||
Written by anson <thesearethethingswesaw@gmail.com> |