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
|
||||
|
||||
Show status:
|
||||
You can supply a list of files using `find` or `rg`:
|
||||
|
||||
```shell
|
||||
find . -type f -name "*.txt" | xargs fnl
|
||||
find . -type f | xargs fnl
|
||||
```
|
||||
|
||||
Add final newlines:
|
||||
|
||||
```shell
|
||||
find . -type f -name "*.txt" | xargs fnl --add
|
||||
```
|
||||
|
||||
Remove final newlines:
|
||||
|
||||
```shell
|
||||
find . -type f -name "*.txt" | xargs fnl --remove
|
||||
rg --files | xargs fnl
|
||||
```
|
||||
|
||||
## License
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue