Update README.md
Browse files
README.md
CHANGED
|
@@ -9,4 +9,6 @@ git clone https://github.com/natir/rasusa
|
|
| 9 |
git clone https://github.com/natir/fpa
|
| 10 |
git clone https://github.com/natir/kmrf
|
| 11 |
|
| 12 |
-
rm -f RustBioGPT-train.
|
|
|
|
|
|
|
|
|
| 9 |
git clone https://github.com/natir/fpa
|
| 10 |
git clone https://github.com/natir/kmrf
|
| 11 |
|
| 12 |
+
rm -f RustBioGPT-train.csv && for i in `find . -name "*.rs"`;do paste -d "," <(echo $i|perl -pe "s/\.\/(\w+)\/.+/\"\1\"/g") <(echo $i|perl -pe "s/(.+)/\"\1\"/g") <(perl -pe "s/\n/\\\n/g" $i|perl -pe s"/\"/\'/g" |perl -pe "s/(.+)/\"\1\"/g") <(echo "mit"|perl -pe "s/(.+)/\"\1\"/g") >> RustBioGPT-train.csv; done
|
| 13 |
+
|
| 14 |
+
sed -i '1i "repo_name","path","code","license"' RustBioGPT-train.csv
|