sed -E -i 's/(attribute(\s*(\w|\.)+)* \[[^]]+)\] \[/\1, /' {library,tests}/**/*.lean # repeat as needed
|
||
|---|---|---|
| .. | ||
| algebra | ||
| data | ||
| examples | ||
| init | ||
| logic | ||
| smt | ||
| system | ||
| theories | ||
| tools | ||
| .gitignore | ||
| .project | ||
| library.md | ||
| standard.lean | ||
sed -E -i 's/(attribute(\s*(\w|\.)+)* \[[^]]+)\] \[/\1, /' {library,tests}/**/*.lean # repeat as needed
|
||
|---|---|---|
| .. | ||
| algebra | ||
| data | ||
| examples | ||
| init | ||
| logic | ||
| smt | ||
| system | ||
| theories | ||
| tools | ||
| .gitignore | ||
| .project | ||
| library.md | ||
| standard.lean | ||