Skip to content

hogashi/replace-head-space-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

replace-head-space-cli

Install

go install github.com/hogashi/replace-head-space-cli@latest

Usage

spaces (hard tab, full-width space) on head of lines will be replaced into half-width space

$ cat hoge.txt
0 spaces
 1 half-width space
 1 full-width space
	1 hard tab
	  3 mixed spaces
$ cat hoge.txt | replace-head-space-cli
0 spaces
 1 half-width space
 1 full-width space
 1 hard tab
   3 mixed spaces

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages