dotfiles

Dotfiles for my OpenBSD environment.
git clone https://git.mtkn.jp/dotfiles
Log | Files | Refs

commit 09d820f79115ec50ab8f13437b79dea4d39748c7
parent 4f4decd62517806db898d5da9c0fca9fb99d67b6
Author: Matsuda Kenji <contact2655@matsudakenji.xyz>
Date:   Sun, 31 Jul 2022 08:29:35 +0900

add usage for reading from stdin

Diffstat:
Mbin/chogo | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/chogo b/bin/chogo @@ -1,8 +1,9 @@ #!/bin/sh usage(){ - echo 'usage: '$(basename "$0")' [-d <depth>] <command> <file>' + echo 'usage: '$(basename "$0")' [-d <depth>] <command> [<file>]' echo ' <command>: st|bs|cf|bf' + echo ' if no <file> is supplied, '$(basename "$0")' reads from stdin.' } st(){