This commit is contained in:
parent
58393ec5be
commit
5ce5787e27
1 changed files with 3 additions and 11 deletions
|
@ -32,22 +32,14 @@ fnl --remove file.txt
|
||||||
|
|
||||||
### Multiple files
|
### Multiple files
|
||||||
|
|
||||||
Show status:
|
You can supply a list of files using `find` or `rg`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
find . -type f -name "*.txt" | xargs fnl
|
find . -type f | xargs fnl
|
||||||
```
|
```
|
||||||
|
|
||||||
Add final newlines:
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
find . -type f -name "*.txt" | xargs fnl --add
|
rg --files | xargs fnl
|
||||||
```
|
|
||||||
|
|
||||||
Remove final newlines:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
find . -type f -name "*.txt" | xargs fnl --remove
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue