3 lines
98 B
Bash
3 lines
98 B
Bash
#!/bin/sh
|
|
|
|
find src -type f -name "*.js" -exec sed -i -E 's@[[:blank:]]*([^:]//).*@@;T;/./!d' {} + |