Help us shape the future of Go! Take the 2026 Go Developer Survey

rl

command module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2016 License: MIT Imports: 8 Imported by: 0

README

rl

Build Status

Reverse lines.

$ echo Hello World | rl
dlroW olleH

Usage

$ rl [OPTION]... [FILE]...

Options:
  -d, --delimiter=DELIM    delimit line by DELIM
  -h, --help               display this help text and exit
  -v, --version            output version information and exit

Installation

go get
go get github.com/kusabashira/rl

Options

-h, --help

Display the usage and exit.

-v, --version

Output the version of rl.

-d, --delimiter=DELIM

Reverse lines delimited by DELIM.

$ cat nums
1,20,300,4000
10,20,30,40,50

$ cat nums | rl -d,
4000,300,20,1
50,40,30,20,10

License

MIT License

Author

kusabashira kusabashira227@gmail.com

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