-
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.
Added the description necessary to try
- Loading branch information
Showing
1 changed file
with
12 additions
and
5 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
# guesswidth | ||
|
||
## install | ||
|
||
```console | ||
go install github.com/noborus/guesswidth/cmd/guesswidth | ||
``` | ||
|
||
Guess the width output with no delimiters in the command. | ||
|
||
Split the output like this: | ||
|
||
```shell | ||
$ ps | ||
PID TTY TIME CMD | ||
302965 pts/3 00:00:00 zsh | ||
323990 pts/3 00:00:00 ps | ||
```console | ||
$ ps | guesswidth | ||
PID| TTY | TIME|CMD | ||
302965| pts/3 | 00:00:08|zsh | ||
539529| pts/3 | 00:00:00|ps | ||
539530| pts/3 | 00:00:00|guesswidth | ||
``` |