replace-head-space-cli

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: MIT Imports: 7 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL