mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
13 lines
306 B
Bash
13 lines
306 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
|
||
|
for filename in ../ast/src/*.rs; do
|
||
|
# echo "$filename"
|
||
|
while read -r line; do
|
||
|
[[ "$line" =~ ^[[:space:]]*# ]] && continue
|
||
|
[[ "$line" =~ ^[[:space:]]*\/ ]] && continue
|
||
|
[[ "$line" =~ ^[[:space:]]*\/ ]] && continue
|
||
|
echo "$line"
|
||
|
done < "$filename"
|
||
|
|
||
|
done
|