Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul authored Feb 9, 2021
1 parent 8fc8b83 commit e6b09c4
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,40 @@ $ go get github.com/hahwul/gee
```

## Usage
blahblah
```
Usage: ./gee [flags] [file1] [file2] ...
(If you do not specify a file, only stdout is output)
Flags
-append
Append mode for files
-chunked int
Chuked files from line (e.g output / output_1 / output_2)
-distribute
Distribution to files
-prefix string
Prefix string
-regex string
Match with Regular Expression (like grep)
-regexv string
Unmatch with Regular Expression (like grep -v)
-rmnl
Remove newline(\r\n)
-suffix string
Suffix string
-version
Version of gee
-with-line
With line number
-with-time
With timestamp
```

## Case of Study
### gee with prefix and suffix
```
$ cat urls | gee -prefix "curl -i -k " -suffix " -H 'Auth: abcd'" curls.sh
```

## Contribute
[Contribute](/CONTRIBUTING.md)
Expand Down

0 comments on commit e6b09c4

Please sign in to comment.