From 1522cce6e1812ca383098b1360d76f2dbe3b0c6e Mon Sep 17 00:00:00 2001 From: surdeus Date: Thu, 4 Jan 2024 17:13:03 +0300 Subject: [PATCH] ... --- go.mod | 4 ++-- go.sum | 4 ++-- main.go | 46 +++++++++++++++++++++---------------------- readme.md | 2 +- tool/cat/cat.go | 2 +- tool/date/date.go | 2 +- tool/ec/run.go | 2 +- tool/echo/echo.go | 2 +- tool/finfo/main.go | 2 +- tool/ftest/main.go | 2 +- tool/gfalse/false.go | 2 +- tool/grange/main.go | 2 +- tool/gtrue/true.go | 2 +- tool/in/main.go | 2 +- tool/ln/main.go | 2 +- tool/ls/ls.go | 2 +- tool/mergelbl/main.go | 2 +- tool/mkdir/mkdir.go | 2 +- tool/noext/noext.go | 2 +- tool/paths/main.go | 4 ++-- tool/quote/quote.go | 2 +- tool/read/main.go | 2 +- tool/sort/sort.go | 4 ++-- tool/tac/tac.go | 2 +- tool/uniq/uniq.go | 2 +- tool/urlprs/urlprs.go | 2 +- tool/useprog/main.go | 2 +- tool/wc/main.go | 2 +- tool/whoami/main.go | 2 +- tool/yes/yes.go | 4 ++-- 30 files changed, 57 insertions(+), 57 deletions(-) diff --git a/go.mod b/go.mod index 6268f7d..4718d09 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ -module github.com/di4f/bb +module github.com/vultras/bb go 1.18 -require github.com/di4f/cli v0.0.0-20231214183522-32f786133a58 +require github.com/vultras/cli v0.0.0-20240104140711-6890b8ea2e24 diff --git a/go.sum b/go.sum index 27a74bb..e54d7cc 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -github.com/di4f/cli v0.0.0-20231214183522-32f786133a58 h1:b3bk2zD7YqLJDYoNAGawVbJovkNzJPDULYuF6+ar09w= -github.com/di4f/cli v0.0.0-20231214183522-32f786133a58/go.mod h1:a2hUcQVjIEYR0VW3gf640cgbxCvUwA9vwKvkSkw1SUU= +github.com/vultras/cli v0.0.0-20240104140711-6890b8ea2e24 h1:dtvNOsgZWz3P87suCr5FKeTevNGLzrVc/uKiKGxW8e0= +github.com/vultras/cli v0.0.0-20240104140711-6890b8ea2e24/go.mod h1:xkex4RuKXi1a1XOYE1SI0mzsgQ1KXbYwLgXHwS5VbNI= diff --git a/main.go b/main.go index 5eb2776..d2ce6e7 100644 --- a/main.go +++ b/main.go @@ -2,30 +2,30 @@ package main import ( "fmt" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" - "github.com/di4f/bb/tool/cat" - "github.com/di4f/bb/tool/date" - "github.com/di4f/bb/tool/ec" - "github.com/di4f/bb/tool/echo" - "github.com/di4f/bb/tool/ftest" - "github.com/di4f/bb/tool/grange" - "github.com/di4f/bb/tool/in" - "github.com/di4f/bb/tool/ln" - "github.com/di4f/bb/tool/ls" - "github.com/di4f/bb/tool/mergelbl" - "github.com/di4f/bb/tool/mkdir" - "github.com/di4f/bb/tool/paths" - "github.com/di4f/bb/tool/quote" - "github.com/di4f/bb/tool/read" - "github.com/di4f/bb/tool/sort" - "github.com/di4f/bb/tool/tac" - "github.com/di4f/bb/tool/uniq" - "github.com/di4f/bb/tool/urlprs" - "github.com/di4f/bb/tool/useprog" - "github.com/di4f/bb/tool/wc" - "github.com/di4f/bb/tool/whoami" - "github.com/di4f/bb/tool/yes" + "github.com/vultras/bb/tool/cat" + "github.com/vultras/bb/tool/date" + "github.com/vultras/bb/tool/ec" + "github.com/vultras/bb/tool/echo" + "github.com/vultras/bb/tool/ftest" + "github.com/vultras/bb/tool/grange" + "github.com/vultras/bb/tool/in" + "github.com/vultras/bb/tool/ln" + "github.com/vultras/bb/tool/ls" + "github.com/vultras/bb/tool/mergelbl" + "github.com/vultras/bb/tool/mkdir" + "github.com/vultras/bb/tool/paths" + "github.com/vultras/bb/tool/quote" + "github.com/vultras/bb/tool/read" + "github.com/vultras/bb/tool/sort" + "github.com/vultras/bb/tool/tac" + "github.com/vultras/bb/tool/uniq" + "github.com/vultras/bb/tool/urlprs" + "github.com/vultras/bb/tool/useprog" + "github.com/vultras/bb/tool/wc" + "github.com/vultras/bb/tool/whoami" + "github.com/vultras/bb/tool/yes" "os" ) diff --git a/readme.md b/readme.md index dc5b449..6deeb51 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # tk -![Insert here a gopher, please](https://raw.githubusercontent.com/di4f/tk//master/media/gopher.png) +![Insert here a gopher, please](https://raw.githubusercontent.com/vultras/tk//master/media/gopher.png) Gopher ToolKit. Not POSIX compatible BusyBox-like set of programs diff --git a/tool/cat/cat.go b/tool/cat/cat.go index 720721b..c2e10d1 100644 --- a/tool/cat/cat.go +++ b/tool/cat/cat.go @@ -4,7 +4,7 @@ import( "os" "io" "fmt" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) var( diff --git a/tool/date/date.go b/tool/date/date.go index 499350d..8520205 100644 --- a/tool/date/date.go +++ b/tool/date/date.go @@ -3,7 +3,7 @@ package date import( "fmt" "time" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/ec/run.go b/tool/ec/run.go index 44d665d..76fcfba 100644 --- a/tool/ec/run.go +++ b/tool/ec/run.go @@ -6,7 +6,7 @@ import( "os" "bufio" "log" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) const( diff --git a/tool/echo/echo.go b/tool/echo/echo.go index cb5c172..0734dd6 100644 --- a/tool/echo/echo.go +++ b/tool/echo/echo.go @@ -3,7 +3,7 @@ package echo import ( "fmt" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) var( diff --git a/tool/finfo/main.go b/tool/finfo/main.go index c5b30bc..cfc4bdd 100644 --- a/tool/finfo/main.go +++ b/tool/finfo/main.go @@ -5,7 +5,7 @@ import ( "io" "bufio" "fmt" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" "path/filepath" ) diff --git a/tool/ftest/main.go b/tool/ftest/main.go index 5d301d5..bb4cc6c 100644 --- a/tool/ftest/main.go +++ b/tool/ftest/main.go @@ -5,7 +5,7 @@ import ( "io" "bufio" "fmt" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" "path/filepath" ) diff --git a/tool/gfalse/false.go b/tool/gfalse/false.go index 762fbb0..3045933 100644 --- a/tool/gfalse/false.go +++ b/tool/gfalse/false.go @@ -2,7 +2,7 @@ package gfalse import( "os" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) func Run(flags *mtool.Flags) { diff --git a/tool/grange/main.go b/tool/grange/main.go index 664bfea..44e49e6 100644 --- a/tool/grange/main.go +++ b/tool/grange/main.go @@ -3,7 +3,7 @@ package grange import( "fmt" "strconv" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) var( diff --git a/tool/gtrue/true.go b/tool/gtrue/true.go index 147bc32..287caf2 100644 --- a/tool/gtrue/true.go +++ b/tool/gtrue/true.go @@ -1,5 +1,5 @@ package gtrue -import "github.com/di4f/cli/mtool" +import "github.com/vultras/cli/mtool" func Run(flags *mtool.Flags) {} diff --git a/tool/in/main.go b/tool/in/main.go index 04712cb..2e2aa59 100644 --- a/tool/in/main.go +++ b/tool/in/main.go @@ -5,7 +5,7 @@ import ( "io" "bufio" "fmt" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/ln/main.go b/tool/ln/main.go index f9b2434..6bab5d8 100644 --- a/tool/ln/main.go +++ b/tool/ln/main.go @@ -3,7 +3,7 @@ package ln import ( "fmt" "os" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" "path/filepath" ) diff --git a/tool/ls/ls.go b/tool/ls/ls.go index b8f2753..7a301ef 100644 --- a/tool/ls/ls.go +++ b/tool/ls/ls.go @@ -5,7 +5,7 @@ import( "strings" "regexp" "path" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) var( diff --git a/tool/mergelbl/main.go b/tool/mergelbl/main.go index 6121037..3eaa004 100644 --- a/tool/mergelbl/main.go +++ b/tool/mergelbl/main.go @@ -5,7 +5,7 @@ import( "fmt" "bufio" "log" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/mkdir/mkdir.go b/tool/mkdir/mkdir.go index 48bff9a..89e7655 100644 --- a/tool/mkdir/mkdir.go +++ b/tool/mkdir/mkdir.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/noext/noext.go b/tool/noext/noext.go index 7e1c950..3d581e8 100644 --- a/tool/noext/noext.go +++ b/tool/noext/noext.go @@ -3,7 +3,7 @@ package noext import( "fmt" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) var( diff --git a/tool/paths/main.go b/tool/paths/main.go index 9647835..a9c959a 100644 --- a/tool/paths/main.go +++ b/tool/paths/main.go @@ -9,9 +9,9 @@ import ( "path" "strings" - //"github.com/di4f/tk/pathx" + //"github.com/vultras/tk/pathx" "path/filepath" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) var ( diff --git a/tool/quote/quote.go b/tool/quote/quote.go index 6b3e8cf..db6f8e6 100644 --- a/tool/quote/quote.go +++ b/tool/quote/quote.go @@ -7,7 +7,7 @@ import( "fmt" "unicode" "bufio" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) func HasWhiteSpace(s string) bool { diff --git a/tool/read/main.go b/tool/read/main.go index 579874b..0f9e657 100644 --- a/tool/read/main.go +++ b/tool/read/main.go @@ -4,7 +4,7 @@ import( "os" "bufio" "fmt" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) var( diff --git a/tool/sort/sort.go b/tool/sort/sort.go index eaa9644..943d6ab 100644 --- a/tool/sort/sort.go +++ b/tool/sort/sort.go @@ -4,8 +4,8 @@ import ( "fmt" "os" "sort" - "github.com/di4f/bb/input" - "github.com/di4f/cli/mtool" + "github.com/vultras/bb/input" + "github.com/vultras/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/tac/tac.go b/tool/tac/tac.go index a11c8ed..15df774 100644 --- a/tool/tac/tac.go +++ b/tool/tac/tac.go @@ -5,7 +5,7 @@ import( "io" "fmt" "bufio" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) func reverse(a []string) chan string { diff --git a/tool/uniq/uniq.go b/tool/uniq/uniq.go index f8bc4f0..43d6934 100644 --- a/tool/uniq/uniq.go +++ b/tool/uniq/uniq.go @@ -6,7 +6,7 @@ import( "fmt" "bufio" "io" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/urlprs/urlprs.go b/tool/urlprs/urlprs.go index 2d71f5f..e6fffb6 100644 --- a/tool/urlprs/urlprs.go +++ b/tool/urlprs/urlprs.go @@ -5,7 +5,7 @@ import ( "fmt" "net" "net/url" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) var nilStr = "_" diff --git a/tool/useprog/main.go b/tool/useprog/main.go index 48b1334..def89a3 100644 --- a/tool/useprog/main.go +++ b/tool/useprog/main.go @@ -4,7 +4,7 @@ import ( "os" "os/exec" "fmt" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" "path/filepath" ) diff --git a/tool/wc/main.go b/tool/wc/main.go index 4eb7d30..13c25fa 100644 --- a/tool/wc/main.go +++ b/tool/wc/main.go @@ -7,7 +7,7 @@ import ( "fmt" "unicode" "strconv" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) var ( diff --git a/tool/whoami/main.go b/tool/whoami/main.go index d38fa74..0eaba39 100644 --- a/tool/whoami/main.go +++ b/tool/whoami/main.go @@ -5,7 +5,7 @@ import( "os/user" "fmt" "log" - "github.com/di4f/cli/mtool" + "github.com/vultras/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/yes/yes.go b/tool/yes/yes.go index 28ea1bf..87c601d 100644 --- a/tool/yes/yes.go +++ b/tool/yes/yes.go @@ -5,8 +5,8 @@ import ( "os" "fmt" "strings" - "github.com/di4f/bb/input" - "github.com/di4f/cli/mtool" + "github.com/vultras/bb/input" + "github.com/vultras/cli/mtool" ) var (