Skip to content

uh-zz/gosplit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gosplit

Name

gosplit - split a file into pieces in Go

Description

gosplit is a like Unix command that uses only the Go standard library.

Options

-b (byte count)

-b option splits the file by specified bytes

Example

❯ echo aaa | ./gosplit -b 1

❯ ls
xaa  xab  xac  xad

-l (line count)

-l option splits the file by specified lines

Example

❯ echo aaa | ./gosplit -l 1

❯ ls
xaa

About

gosplit - split a file into pieces in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages